Define _DARWIN_C_SOURCE to get SIGWINCH on OS X
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
parent
9dc36589ae
commit
82aa3e3f43
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user