mirror of
https://github.com/AuxXxilium/kmod.git
synced 2024-12-27 13:55:35 +07:00
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'
This commit is contained in:
parent
6068aaaea8
commit
eff917c0d2
@ -33,6 +33,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/mman.h>
|
||||
#include <sys/wait.h>
|
||||
#include <string.h>
|
||||
#include <fnmatch.h>
|
||||
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/utsname.h>
|
||||
#include <sys/wait.h>
|
||||
#include <unistd.h>
|
||||
#include <syslog.h>
|
||||
#include <limits.h>
|
||||
|
Loading…
Reference in New Issue
Block a user