aboutsummaryrefslogtreecommitdiff
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 08:21:00 -0500
commit13778ddacf35dd014ba6b7c54063e6a85928b923 (patch)
treea5bad79bcadc3d83da1b64071dee04d4e82a96f2
parent3beab989344d50bfed9d9d6f5bd207ca97808fc7 (diff)
downloadvis-old.tar.gz
vis-old.tar.xz
Added `ifdef` for FreeBSD's signal.hold
This is done as otherwise `SIGINT` and `SIG_IGN` are not defined.
-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>