diff options
author | Tony Kelman <tony@kelman.net> | 2015-01-22 17:16:59 -0800 |
---|---|---|
committer | Tony Kelman <tony@kelman.net> | 2015-01-22 17:16:59 -0800 |
commit | 06900749637b925af1ebdf5030ba03a379f4f84f (patch) | |
tree | dc95c2ad249c3cc6c86698e3159e63fc8dfc6e59 /e2fsprogs/lsattr.c | |
parent | 8ec94b6f617dc1314221f0ebf6b01467c62950e3 (diff) | |
download | busybox-w32-06900749637b925af1ebdf5030ba03a379f4f84f.tar.gz busybox-w32-06900749637b925af1ebdf5030ba03a379f4f84f.tar.bz2 busybox-w32-06900749637b925af1ebdf5030ba03a379f4f84f.zip |
Fix error: conflicting types for ‘pid_t’ with mingw64
Using x86_64-w64-mingw32-gcc cross-compiler for win64 gives an error:
```
In file included from include/libbb.h:163:0,
from include/busybox.h:8,
from applets/applets.c:9:
include/mingw.h:10:13: error: conflicting types for ‘pid_t’
typedef int pid_t;
^
In file included from /usr/share/mingw-w64/include/process.h:12:0,
from /usr/share/mingw-w64/include/unistd.h:11,
from include/platform.h:313,
from include/libbb.h:13,
from include/busybox.h:8,
from applets/applets.c:9:
/usr/share/mingw-w64/include/sys/types.h:68:16: note: previous declaration of ‘pid_t’ was here
typedef _pid_t pid_t;
^
make[1]: *** [applets/applets.o] Error 1
```
This change fixes it and results in a successful build of 64-bit busybox.exe.
Diffstat (limited to 'e2fsprogs/lsattr.c')
0 files changed, 0 insertions, 0 deletions