From 66aee093889c9098da93c3bf38c64e4d907f3ba9 Mon Sep 17 00:00:00 2001 From: Marvin Schmidt Date: Wed, 2 Nov 2016 15:46:45 +0100 Subject: [PATCH] Add missing include in kicad_string.h Without this include the HAVE_STRTOKR define won't be available to the preprocessor and the strtok_r function will be declared unconditionally and eventually clash with the declaration from the system provided equivalent. --- include/kicad_string.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/kicad_string.h b/include/kicad_string.h index e65486c08e..d3136a3085 100644 --- a/include/kicad_string.h +++ b/include/kicad_string.h @@ -30,6 +30,8 @@ #ifndef KICAD_STRING_H_ #define KICAD_STRING_H_ +#include "config.h" + #include #include