aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-07-31 06:26:59 +1000
committerGravatar axel <axel@liljencrantz.se>2006-07-31 06:26:59 +1000
commit60f05338216ecd819fe9889124b4d40049d830cb (patch)
treee846db29631918ad78a112ed386b4e5b1c701439 /common.c
parent0768cf7e537d303c4601fb271f90a3caf87e52d7 (diff)
Include siginfo.h in all signal-using files to make Solaris happy. Thanks to Netocrat for the report and a description of the solution.
darcs-hash:20060730202659-ac50b-1840aff40ec2467242bd107676c7426cdb14f643.gz
Diffstat (limited to 'common.c')
-rw-r--r--common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common.c b/common.c
index 97b9b7a6..cd732344 100644
--- a/common.c
+++ b/common.c
@@ -13,6 +13,10 @@ parts of fish.
#include <stropts.h>
#endif
+#ifdef HAVE_SIGINFO_H
+#include <siginfo.h>
+#endif
+
#include <stdlib.h>
#include <termios.h>
#include <wchar.h>