freebsd-ports/sysutils/e2fsprogs/files/patch-misc__tune2fs.c
Matthias Andree 8cd9199a7c - Update to new upstream release 1.42.9, release notes:
<http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.42.9>

- Add MAKE_ENV+=CHECK_CMD=@true to avoid build failures in intl/, which
  apparently does not include MCONFIG currently.

- Regenerate (and in two cases, modify) patches.
2014-01-07 00:00:23 +00:00

20 lines
531 B
C

--- ./misc/tune2fs.c.orig 2013-12-29 05:18:02.000000000 +0100
+++ ./misc/tune2fs.c 2014-01-06 23:43:47.000000000 +0100
@@ -25,7 +25,6 @@
* 94/03/06 - Added the checks interval from Uwe Ohse (uwe@tirka.gun.de)
*/
-#define _XOPEN_SOURCE 600 /* for inclusion of strptime() */
#include "config.h"
#include <fcntl.h>
#include <grp.h>
@@ -52,6 +51,9 @@
#include <libgen.h>
#include <limits.h>
+#include <netinet/in.h>
+#include <strings.h>
+
#include "ext2fs/ext2_fs.h"
#include "ext2fs/ext2fs.h"
#include "et/com_err.h"