chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] Fix build error with klibc due to recent changes.
[elogind.git]
/
udev.c
diff --git
a/udev.c
b/udev.c
index 94888d6a43a008f4fcfa4a4b49f0988acf0e1894..a13f7013b6e6e2aa167a4b5fb99ebb38fbccf2d8 100644
(file)
--- a/
udev.c
+++ b/
udev.c
@@
-20,6
+20,7
@@
*
*/
*
*/
+#define _KLIBC_HAS_ARCH_SIG_ATOMIC_T
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
@@
-154,7
+155,6
@@
int main(int argc, char *argv[], char *envp[])
/* set signal handlers */
act.sa_handler = (void (*) (int))sig_handler;
/* set signal handlers */
act.sa_handler = (void (*) (int))sig_handler;
-
sigemptyset (&act.sa_mask);
/* alarm must interrupt syscalls*/
sigaction(SIGALRM, &act, NULL);
sigemptyset (&act.sa_mask);
/* alarm must interrupt syscalls*/
sigaction(SIGALRM, &act, NULL);