diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2018-03-09 01:57:40 -0500 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2018-03-09 01:59:24 -0500 |
| commit | ca505ea0910ac417bd167dd16ef14f894023e03d (patch) | |
| tree | a5bad79bcadc3d83da1b64071dee04d4e82a96f2 | |
| parent | 263a4c6409add73550c561b7c84ea5410b4173a0 (diff) | |
| download | vis-FreeBSD-single.tar.gz vis-FreeBSD-single.tar.xz | |
Added `ifdef` for FreeBSD's signal.hFreeBSD-single
This is done as otherwise `SIGINT` and `SIG_IGN` are not defined.
| -rw-r--r-- | vis-single.c | 4 |
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> |
