From 2f218f9c9924ea6e9f664faf60f9f1dfb8fdc1d2 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 27 Dec 2014 17:20:16 -0600 Subject: [PATCH] fixup files in mfapi directory for strdup on old systems --- mfapi/file.c | 1 + mfapi/mfconn.c | 1 + mfapi/patch.c | 1 + 3 files changed, 3 insertions(+) diff --git a/mfapi/file.c b/mfapi/file.c index 3428997..2b6512b 100644 --- a/mfapi/file.c +++ b/mfapi/file.c @@ -18,6 +18,7 @@ */ #define _POSIX_C_SOURCE 200809L // for strdup +#define _BSD_SOURCE // for strdup on old systems #include #include diff --git a/mfapi/mfconn.c b/mfapi/mfconn.c index 8a9a0e3..7e18642 100644 --- a/mfapi/mfconn.c +++ b/mfapi/mfconn.c @@ -18,6 +18,7 @@ */ #define _POSIX_C_SOURCE 200809L // for strdup +#define _BSD_SOURCE // for strdup on old systems #include #include diff --git a/mfapi/patch.c b/mfapi/patch.c index 76bcb1c..a96dcf4 100644 --- a/mfapi/patch.c +++ b/mfapi/patch.c @@ -17,6 +17,7 @@ */ #define _POSIX_C_SOURCE 200809L // for strdup +#defein _BSD_SOURCE // for strdup on old systems #include #include