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).
This commit is contained in:
Hiltjo Posthuma 2014-06-16 23:38:57 +02:00 committed by sin
parent 8f7bc0db35
commit 696cbdbb68

2
util.h
View File

@ -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)