summaryrefslogtreecommitdiff
path: root/riscos/ucstables.c
diff options
context:
space:
mode:
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>