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