openwrtv3/package/utils
Jo-Philipp Wich 70b4e46804 e2fsprogs: fix build on OS X systems
On OS X systems, the compilation of e2fsprogs fails at subst.c due to a
missing sys/stat.h include:

    subst.c:333:14: error: variable has incomplete type 'struct stat'
            struct stat stbuf;
                        ^
    subst.c:333:9: note: forward declaration of 'struct stat'
            struct stat stbuf;
                   ^
    subst.c:392:8: warning: implicit declaration of function 'fstat' is invalid in C99
          [-Wimplicit-function-declaration]
                            if (fstat(fd, &stbuf) == 0) {
                                ^
    subst.c:438:12: warning: implicit declaration of function 'fchmod' is invalid in C99
          [-Wimplicit-function-declaration]
                                    (void) fchmod(ofd, 0444);
                                           ^
    2 warnings and 1 error generated.
    make[3]: *** [subst.o] Error 1

Declare the nescessary HAVE_SYS_STAT_H macro to include the required header in
order to avoid the undeclared stat structure.

Tested-By: David Thornley <david.thornley@touchstargroup.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-07-04 16:26:26 +02:00
..
admswconfig package: flag further target specific packages as nonshared 2016-04-26 23:26:43 +02:00
bsdiff bsdiff: add missing host build dependency on bzip2 (fixes #21990) 2016-03-07 14:34:14 +00:00
busybox busybox: Call ntpd hotplug script for every action 2016-06-10 18:05:08 +02:00
bzip2 bzip2: install to STAGING_DIR/host instead of STAGING_DIR/host/usr 2016-01-20 22:59:29 +00:00
e2fsprogs e2fsprogs: fix build on OS X systems 2016-07-04 16:26:26 +02:00
fbtest fbtest: remove bogus #include 2015-03-29 04:28:29 +00:00
fuse cosmetic: remove trailing whitespaces 2015-10-15 22:12:13 +00:00
hostap-utils license info - revert r43155 2014-11-03 09:56:44 +00:00
jsonfilter jsonfilter: update to latest git HEAD 2016-07-02 10:16:18 +02:00
lua treewide: replace jow@openwrt.org with jo@mein.io 2016-06-07 11:42:52 +02:00
mdadm treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
mkelfimage cosmetic: remove trailing whitespaces 2015-10-15 22:12:13 +00:00
nand-utils nand-utile: add package 2016-07-02 10:16:17 +02:00
nvram nvram: install init.d quirks script on brcm47xx only 2016-05-20 22:33:15 +02:00
oseama oseama: support extracting entity 2016-06-13 22:53:07 +02:00
otrx package: remove duplicate lines from otrx and nvram makefiles 2016-04-26 23:28:17 +02:00
px5g treewide: replace jow@openwrt.org with jo@mein.io 2016-06-07 11:42:52 +02:00
px5g-standalone px5g-standalone: activate format-security checks 2015-11-22 14:16:09 +00:00
spidev_test spidev_test: copy the source code into the package folder 2016-06-30 22:48:39 +02:00
ubi-utils global: change my email address 2016-05-12 03:29:36 +02:00
ugps package/*: update git urls for project repos 2016-06-13 22:51:41 +02:00
usbmode package/*: update git urls for project repos 2016-06-13 22:51:41 +02:00
usbreset license info - revert r43155 2014-11-03 09:56:44 +00:00
usbutils treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
util-linux util-linux: fix scanf fallback detection for uClibc-ng 2016-06-05 23:23:57 +02:00
xfsprogs xfsprogs: activate format-security checks 2015-11-22 14:13:47 +00:00