summaryrefslogtreecommitdiff
path: root/riscos/ucstables.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2005-08-20 23:04:35 +0000
committerJames Bursa <james@netsurf-browser.org>2005-08-20 23:04:35 +0000
commit4af7520647320c6cab6588e41bbf7224548b0561 (patch)
tree708b7acc9350f399e1a49dc34654115e20f3f5c4 /riscos/ucstables.c
parent8afd957986ade6208ec315fcac410a290e40b68b (diff)
downloadnetsurf-4af7520647320c6cab6588e41bbf7224548b0561.tar.gz
netsurf-4af7520647320c6cab6588e41bbf7224548b0561.tar.bz2
[project @ 2005-08-20 23:04:35 by bursa]
Fix strndup() warnings. svn path=/import/netsurf/; revision=1850
Diffstat (limited to 'riscos/ucstables.c')
-rw-r--r--riscos/ucstables.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/riscos/ucstables.c b/riscos/ucstables.c
index ef103f367..ccc0f4582 100644
--- a/riscos/ucstables.c
+++ b/riscos/ucstables.c
@@ -8,6 +8,8 @@
/** \file
* UCS conversion tables and RISC OS-specific UTF-8 text handling
*/
+
+#define _GNU_SOURCE /* for strndup */
#include <assert.h>
#include <limits.h>
#include <string.h>