summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-12-31 11:49:34 +0400
committerIgor Pashev <pashev.igor@gmail.com>2013-12-31 11:49:34 +0400
commit13a20e9718bdab75f526196b1e1c3352d143370a (patch)
treef8d727fcaa375033d69caefd8dadda7a68872f11
parente192f9caee613522cc4dc4a478703d9220698680 (diff)
downloadmoreutils-13a20e9718bdab75f526196b1e1c3352d143370a.tar.gz
include <signal.h> for raise() in ifne.c
-rw-r--r--debian/changelog1
-rw-r--r--ifne.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index fcdead5..8c5b796 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ moreutils (0.51+dyson1) UNRELEASED; urgency=low
[ Igor Pashev ]
* Fixed ifdata for illumos/Solaris. Thanks to Gabriele Giacone
+ * include <signal.h> for raise() in ifne.c
-- Igor Pashev <pashev.igor@gmail.com> Tue, 31 Dec 2013 11:38:59 +0400
diff --git a/ifne.c b/ifne.c
index d8ecea9..a58e342 100644
--- a/ifne.c
+++ b/ifne.c
@@ -23,6 +23,8 @@
#include <sys/wait.h>
#include <sys/types.h>
#include <string.h>
+#include <signal.h> /* raise() */
+
#define streq(a, b) (!strcmp((a), (b)))
static void stdin_to_stream(char *buf, ssize_t r, FILE *outf) {