summaryrefslogtreecommitdiffstats
path: root/src/plist.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2020-05-11 18:37:51 +0200
committerGravatar Nikias Bassen2020-05-11 18:37:51 +0200
commitbaf5092902bc75874414a5b06c418f1c4c602414 (patch)
treef3396e28f9e2890d50149a37b86fdd74896b7104 /src/plist.c
parent303924413fcac2670dc6baf61d65d21545aa082f (diff)
downloadlibplist-baf5092902bc75874414a5b06c418f1c4c602414.tar.gz
libplist-baf5092902bc75874414a5b06c418f1c4c602414.tar.bz2
Suppress compiler warning about memmem on Linux
Diffstat (limited to 'src/plist.c')
-rw-r--r--src/plist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plist.c b/src/plist.c
index f58148b..2d5042e 100644
--- a/src/plist.c
+++ b/src/plist.c
@@ -25,6 +25,7 @@
#include <config.h>
#endif
+#define _GNU_SOURCE 1
#include <string.h>
#include "plist.h"
#include <stdlib.h>