Openwrt/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
bsdiff
busybox busybox: Call ntpd hotplug script for every action 2016-06-10 18:05:08 +02:00
bzip2
e2fsprogs e2fsprogs: fix build on OS X systems 2016-07-04 16:26:26 +02:00
fbtest
fuse
hostap-utils
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
nand-utils nand-utile: add package 2016-07-02 10:16:17 +02:00
nvram
oseama oseama: support extracting entity 2016-06-13 22:53:07 +02:00
otrx
px5g treewide: replace jow@openwrt.org with jo@mein.io 2016-06-07 11:42:52 +02:00
px5g-standalone
spidev_test spidev_test: copy the source code into the package folder 2016-06-30 22:48:39 +02:00
ubi-utils
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
usbutils treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
util-linux
xfsprogs