Merge pull request #35 from fcambus/master

Added _BSD_SOURCE define to allow compiling on OpenBSD
This commit is contained in:
Kevin Lange 2015-10-31 06:05:40 +09:00
commit 1dc4f1c2fd

View File

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