2012-05-23 23:39:30 +02:00
|
|
|
Index: lib/ext2fs/mmp.c
|
|
|
|
===================================================================
|
|
|
|
--- lib/ext2fs/mmp.c.orig
|
|
|
|
+++ lib/ext2fs/mmp.c
|
|
|
|
@@ -27,6 +27,13 @@
|
2012-01-16 20:28:03 +01:00
|
|
|
#include "ext2fs/ext2_fs.h"
|
|
|
|
#include "ext2fs/ext2fs.h"
|
|
|
|
|
|
|
|
+#if _BSD_SOURCE || _XOPEN_SOURCE >= 500
|
|
|
|
+#include <netdb.h>
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#include <string.h>
|
|
|
|
+#include <stdio.h>
|
|
|
|
+
|
2012-05-23 23:39:30 +02:00
|
|
|
#ifndef O_DIRECT
|
|
|
|
#define O_DIRECT 0
|
|
|
|
#endif
|