diff options
author | Jack Nagel <jacknagel@gmail.com> | 2013-11-09 20:23:26 -0600 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-07-08 13:01:01 +0200 |
commit | 82aa3e3f43b758fd0c22439288dc8d4e36515ae1 (patch) | |
tree | de0446df56015a35c02e836c12504cac85350c08 /src | |
parent | 9dc36589ae69f2938469b854b21ba1738469798b (diff) | |
download | calcurse-82aa3e3f43b758fd0c22439288dc8d4e36515ae1.tar.gz calcurse-82aa3e3f43b758fd0c22439288dc8d4e36515ae1.zip |
Define _DARWIN_C_SOURCE to get SIGWINCH on OS X
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/sigs.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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> |