[patch] script, write include signal.h directly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



write.c has already the signal.h include.

another small step for better klibc support, glibc compile tested.

Signed-off-by: maximilian attems <max@xxxxxxx>

diff --git a/misc-utils/script.c b/misc-utils/script.c
index fc54fce..45a9c3e 100644
--- a/misc-utils/script.c
+++ b/misc-utils/script.c
@@ -51,7 +51,7 @@
 #include <sys/ioctl.h>
 #include <sys/time.h>
 #include <sys/file.h>
-#include <sys/signal.h>
+#include <signal.h>
 #include <errno.h>
 #include <string.h>
 #include <getopt.h>
diff --git a/misc-utils/write.c b/misc-utils/write.c
index 276fe96..8ed7763 100644
--- a/misc-utils/write.c
+++ b/misc-utils/write.c
@@ -56,7 +56,6 @@
 #include <stdlib.h>
 #include <signal.h>
 #include <sys/param.h>
-#include <sys/signal.h>
 #include <sys/stat.h>
 #include <sys/file.h>
 #include <sys/time.h>
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux