commit 696cbdbb688b16a2522f5ee98c56bf7c55071fab
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Mon Jun 16 23:38:57 2014 +0200
util.h, mode_t: sys/types.h defines mode_t
see:
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_stat.h.html
this removes the warning with gcc (but musl didn't have this warning).
diff --git a/util.h b/util.h
index 9cd7050..516a5c2 100644
--- a/util.h
+++ b/util.h
_AT_@ -1,6 +1,6 @@
/* See LICENSE file for copyright and license details. */
#include <stddef.h>
-#include <sys/stat.h>
+#include <sys/types.h>
#include "arg.h"
#define UTF8_POINT(c) (((c) & 0xc0) != 0x80)
Received on Tue Jun 17 2014 - 00:04:50 CEST