Define _DARWIN_C_SOURCE to get SIGWINCH on OS X

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Jack Nagel authored and Lukas Fleischer committed 2014-07-08 13:01:01 +02:00
1 parent 9dc36589ae
commit 82aa3e3f43
1 file changed
+5
+5
View File
@@ -44,6 +44,11 @@
#define __BSD_VISIBLE 1
#endif
#ifndef _DARWIN_C_SOURCE
/* Needed for SIGWINCH on Darwin. */
#define _DARWIN_C_SOURCE 1
#endif
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>