[PATCH] udev - exec status fix for klibc
Here is a patch to remove the ifdef's and fix klibc instead.
This commit is contained in:
parent
d6e86b3752
commit
2794d24917
|
@ -4,6 +4,11 @@
|
|||
#define KLIBC_FIXUPS_H
|
||||
|
||||
|
||||
#define WTERMSIG(status) ((status) & 0x7f)
|
||||
#define WEXITSTATUS(status) (((status) & 0xff00) >> 8)
|
||||
#define WIFEXITED(status) (WTERMSIG(status) == 0)
|
||||
|
||||
|
||||
struct group {
|
||||
char *gr_name; /* group name */
|
||||
char *gr_passwd; /* group password */
|
||||
|
|
Loading…
Reference in New Issue