aboutsummaryrefslogtreecommitdiff
path: root/vis-single.c
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2018-03-09 01:57:40 -0500
committerMitch Riedstra <mitch@riedstra.us>2018-03-09 01:59:24 -0500
commitca505ea0910ac417bd167dd16ef14f894023e03d (patch)
treea5bad79bcadc3d83da1b64071dee04d4e82a96f2 /vis-single.c
parent263a4c6409add73550c561b7c84ea5410b4173a0 (diff)
downloadvis-ca505ea0910ac417bd167dd16ef14f894023e03d.tar.gz
vis-ca505ea0910ac417bd167dd16ef14f894023e03d.tar.xz
Added `ifdef` for FreeBSD's signal.hFreeBSD-single
This is done as otherwise `SIGINT` and `SIG_IGN` are not defined.
Diffstat (limited to 'vis-single.c')
-rw-r--r--vis-single.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/vis-single.c b/vis-single.c
index 8e06de5..d90ed9a 100644
--- a/vis-single.c
+++ b/vis-single.c
@@ -9,6 +9,10 @@
#include <string.h>
#include <unistd.h>
+#ifdef __FreeBSD__
+#include <signal.h>
+#endif
+
#include <lzma.h>
#include <libuntar.h>