Added __BSD_VISIBLE 1 to allow compiling on FreeBSD. This includes SIGWINCH on FreeBSD. Still compiles succesfully on OSX (Mavericks) and Ubuntu 12.04 LTS

This commit is contained in:
annonymouse 2014-09-17 18:52:18 +01:00
parent b2458fa06d
commit 1d8a582ebd

View File

@ -51,6 +51,7 @@
#define _XOPEN_SOURCE 500
#define _DARWIN_C_SOURCE 1
#define __BSD_VISIBLE 1
#include <ctype.h>
#include <stdio.h>
#include <stdint.h>