sbase

suckless unix tools
git clone git://git.suckless.org/sbase
Log | Files | Refs | README | LICENSE

commit 696cbdbb688b16a2522f5ee98c56bf7c55071fab
parent 8f7bc0db354a20061a409fc72bb1e6d2ff47fff3
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon, 16 Jun 2014 23:38:57 +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).

Diffstat:
Mutil.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util.h b/util.h @@ -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)