Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
TT-177 build: add .spec file for SLES11+ packaging
[tools/e2fsprogs.git]
/
patches
/
sles
/
rpm
/
e2fsprogs-1.42-implicit_fortify_decl.patch
1
Index: lib/ext2fs/mmp.c
2
===================================================================
3
--- lib/ext2fs/mmp.c.orig
4
+++ lib/ext2fs/mmp.c
5
@@ -27,6 +27,13 @@
6
#include "ext2fs/ext2_fs.h"
7
#include "ext2fs/ext2fs.h"
8
9
+#if _BSD_SOURCE || _XOPEN_SOURCE >= 500
10
+#include <netdb.h>
11
+#endif
12
+
13
+#include <string.h>
14
+#include <stdio.h>
15
+
16
#ifndef O_DIRECT
17
#define O_DIRECT 0
18
#endif