Code

liboconfig: Fix implicit declaration warning
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 16 Aug 2015 10:28:43 +0000 (12:28 +0200)
committerMarc Fournier <marc.fournier@camptocamp.com>
Wed, 26 Aug 2015 21:33:22 +0000 (23:33 +0200)
strlen declaration is in string.h

src/liboconfig/scanner.l

index e38cf3039f8d80c336baabc9afe1a45f755f36bb..a07c3e873892561c5501e3c4c923ec12c4e1c11b 100644 (file)
@@ -19,6 +19,7 @@
 
 %{
 #include <stdlib.h>
+#include <string.h>
 #include "oconfig.h"
 #include "aux_types.h"
 #include "parser.h"