Added _BSD_SOURCE define to allow compiling on OpenBSD

This commit is contained in:
Frederic Cambus 2015-10-30 21:02:10 +01:00
parent 5709089093
commit 65bbd3a951

View File

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