e2fsprogs/e2fsprogs-1.42-implicit_fortify_decl.patch
OBS User jankara 891d3f7727 update to 1.42
Rev filesystems/22 Md5 787d7eb03cbf1ac71bfe45d5b274f9b9 2012-01-16 19:28:03 jankara 100294
2012-01-16 19:28:03 +00:00

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