summaryrefslogtreecommitdiff
path: root/src/libezxml/ezxml.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libezxml/ezxml.c')
-rw-r--r--src/libezxml/ezxml.c2
1 files changed, 2 insertions, 0 deletions
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 <stdlib.h>
#include <stdio.h>