summaryrefslogtreecommitdiff
path: root/render/form.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2005-08-04 22:51:42 +0000
committerJames Bursa <james@netsurf-browser.org>2005-08-04 22:51:42 +0000
commit3b4baa8008e78ef4176964a253c0ba02a9db3ef7 (patch)
tree4df8f023eb792e6cf7687bea720516c0f554c1c4 /render/form.c
parent43210941221836bdc92544a58085c6af3cf567be (diff)
downloadnetsurf-3b4baa8008e78ef4176964a253c0ba02a9db3ef7.tar.gz
netsurf-3b4baa8008e78ef4176964a253c0ba02a9db3ef7.tar.bz2
[project @ 2005-08-04 22:51:42 by bursa]
Fix strndup() compiler warnings. svn path=/import/netsurf/; revision=1840
Diffstat (limited to 'render/form.c')
-rw-r--r--render/form.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/render/form.c b/render/form.c
index f82877504..a15b6608c 100644
--- a/render/form.c
+++ b/render/form.c
@@ -11,6 +11,7 @@
* Form handling functions (implementation).
*/
+#define _GNU_SOURCE /* for strndup */
#include <assert.h>
#include <ctype.h>
#include <stdbool.h>