From f1f0e46cd1c50c04ac71fa61a03b728d99580ef6 Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Sun, 10 Jul 2011 12:04:53 +0000 Subject: Disable feature test macros on FreeBSD Closes #136 --- src/ui.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ui.c') diff --git a/src/ui.c b/src/ui.c index a025b9c..decb0b6 100644 --- a/src/ui.c +++ b/src/ui.c @@ -23,8 +23,10 @@ THE SOFTWARE. /* everything that interacts with the user */ +#ifndef __FreeBSD__ #define _POSIX_C_SOURCE 1 /* fileno() */ #define _BSD_SOURCE /* strdup() */ +#endif #include #include -- cgit v1.2.3