From e7d253b1c100255c225f079a1bf11d3c1191cbea Mon Sep 17 00:00:00 2001 From: Erik Ekman Date: Sun, 28 Jun 2015 22:52:33 +0200 Subject: [PATCH] Fix compile on Darwin (hopefully) --- src/osflags | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/osflags b/src/osflags index 45c2e59..6af11aa 100755 --- a/src/osflags +++ b/src/osflags @@ -32,6 +32,9 @@ cflags) BeOS) echo '-Dsocklen_t=int'; ;; + Darwin) + echo '-D__APPLE_USE_RFC_3542'; + ;; Linux) FLAGS="-D_GNU_SOURCE" [ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -DHAVE_SETCON";