3194e4e326
update to 1.42 OBS-URL: https://build.opensuse.org/request/show/100294 OBS-URL: https://build.opensuse.org/package/show/filesystems/e2fsprogs?expand=0&rev=22
18 lines
387 B
Diff
18 lines
387 B
Diff
--- lib/ext2fs/mmp.c.orig 2012-01-12 21:10:16.087185199 -0500
|
|
+++ lib/ext2fs/mmp.c 2012-01-12 21:59:56.987918809 -0500
|
|
@@ -25,6 +25,14 @@
|
|
#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>
|
|
+#include <unistd.h>
|
|
+
|
|
static int mmp_pagesize(void)
|
|
{
|
|
#ifdef _SC_PAGESIZE
|