From 767b0f0820e914fb5afe7d0f19c96c910aa55829 Mon Sep 17 00:00:00 2001 From: theraven Date: Wed, 12 Oct 2011 10:20:52 +0000 Subject: [PATCH] Add define that exposes asprintf on OpenBSD. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 63b74e4..eef0808 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ SILENT=@ CFLAGS += -std=gnu99 -fPIC -fexceptions CXXFLAGS += -fPIC -fexceptions CPPFLAGS += -DTYPE_DEPENDENT_DISPATCH -DGNUSTEP -CPPFLAGS += -D__OBJC_RUNTIME_INTERNAL__=1 -D_XOPEN_SOURCE=500 -D__BSD_VISIBLE=1 +CPPFLAGS += -D__OBJC_RUNTIME_INTERNAL__=1 -D_XOPEN_SOURCE=500 -D__BSD_VISIBLE=1 -D_BSD_SOURCE=1 # Suppress warnings about incorrect selectors CPPFLAGS += -DNO_SELECTOR_MISMATCH_WARNINGS