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/libezxml/ezxml.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libezxml/ezxml.c') diff --git a/src/libezxml/ezxml.c b/src/libezxml/ezxml.c index 967d535..e0b5a15 100644 --- a/src/libezxml/ezxml.c +++ b/src/libezxml/ezxml.c @@ -22,7 +22,9 @@ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#ifndef __FreeBSD__ #define _BSD_SOURCE /* required by strdup() */ +#endif #include #include -- cgit v1.2.3