diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2018-03-09 01:57:40 -0500 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2018-03-09 08:21:00 -0500 |
| commit | 13778ddacf35dd014ba6b7c54063e6a85928b923 (patch) | |
| tree | a5bad79bcadc3d83da1b64071dee04d4e82a96f2 | |
| parent | 3beab989344d50bfed9d9d6f5bd207ca97808fc7 (diff) | |
| download | vis-13778ddacf35dd014ba6b7c54063e6a85928b923.tar.gz vis-13778ddacf35dd014ba6b7c54063e6a85928b923.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.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> |
