summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2019-05-17 21:40:30 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2019-05-17 21:48:36 +0200
commitf9dcf20face5e646d28c79222cb23ec0446827cf (patch)
treecd917d02f3b09624e00a221cfc76a106a1e8b68a
parent1ed78094f8837ad0171242c47e42cb61c9cc470d (diff)
Include enable_posix.h for strndup().
This fixes #18.
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index e1526d8..b8c517d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2,6 +2,7 @@
* This file is part of cparser.
* Copyright (C) 2012 Matthias Braun <matze@braunis.de>
*/
+#include "driver/enable_posix.h"
#include <errno.h>
#include <stdbool.h>
#include <stdio.h>