From 17d46813d827a5d18ebaa811d315e660b6a48a9e Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Wed, 8 May 2013 16:56:04 +0200 Subject: [PATCH] Include the public header in the implementation file. In the public header files, all symbols are marked extern C. When using a C compiler, there is usually no problem if the header isn't included in the C file. But the msvc build system uses the C++ compiler (due to the use of some C99 features not supported by the msvc C compiler). --- src/shearwater_predator_parser.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shearwater_predator_parser.c b/src/shearwater_predator_parser.c index 8bd65f2..bf136a9 100644 --- a/src/shearwater_predator_parser.c +++ b/src/shearwater_predator_parser.c @@ -22,6 +22,7 @@ #include #include +#include #include #include "context-private.h"