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
1 changed files with 1 additions and 0 deletions

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>