opnsense-ports/sysutils/e2fsprogs/files/patch-misc__tune2fs.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

20 lines
479 B
C

--- misc/tune2fs.c.orig 2014-08-02 20:26:22 UTC
+++ misc/tune2fs.c
@@ -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"