]> git.ipfire.org Git - thirdparty/kmod.git/commit
WEXITSTATUS is defined in sys/wait.h
authorThierry Vignaud <thierry.vignaud@gmail.com>
Tue, 17 Jan 2012 19:32:48 +0000 (17:32 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Tue, 17 Jan 2012 19:33:07 +0000 (17:33 -0200)
commiteff917c0d24e8189a98f41d186e7b17e269578a7
treed6372bf370cc4ec7bf83c68437e546e52e351e8d
parent6068aaaea8e7cdc6039e6fd7a1aeab9db9d0225b
WEXITSTATUS is defined in sys/wait.h

Fix compiling with dietlibc:

../libkmod/libkmod-module.c:858:2: warning: implicit declaration of function 'WEXITSTATUS' [-Wimplicit-function-declaration]
../libkmod/libkmod-module.c:858:2: warning: nested extern declaration of 'WEXITSTATUS' [-Wnested-externs]
(...)
kmod-modprobe.c:(.text.command_do+0x157): undefined reference to `WEXITSTATUS'
libkmod/libkmod-module.c
tools/kmod-modprobe.c