1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Kill three compiler warnings.

This commit is contained in:
Matthias Andree 2013-06-27 23:29:03 +00:00
parent 591e67d93a
commit bc71f564c6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321912

View File

@ -0,0 +1,21 @@
--- ./misc/tune2fs.c.orig 2013-06-21 04:43:42.000000000 +0200
+++ ./misc/tune2fs.c 2013-06-28 01:08:29.000000000 +0200
@@ -25,8 +25,6 @@
* 94/03/06 - Added the checks interval from Uwe Ohse (uwe@tirka.gun.de)
*/
-#define _XOPEN_SOURCE 600 /* for inclusion of strptime() */
-#define _BSD_SOURCE /* for inclusion of strcasecmp() */
#include "config.h"
#include <fcntl.h>
#include <grp.h>
@@ -48,6 +46,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"