summaryrefslogtreecommitdiff
path: root/libezxml
diff options
context:
space:
mode:
Diffstat (limited to 'libezxml')
-rw-r--r--libezxml/src/ezxml.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libezxml/src/ezxml.c b/libezxml/src/ezxml.c
index 4ba607a..52deb95 100644
--- a/libezxml/src/ezxml.c
+++ b/libezxml/src/ezxml.c
@@ -22,6 +22,8 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
+#define _BSD_SOURCE /* required by strdup() */
+
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>