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).
This commit is contained in:
Jef Driesen 2013-05-08 16:56:04 +02:00
parent 780440dffe
commit 17d46813d8

View File

@ -22,6 +22,7 @@
#include <stdlib.h>
#include <libdivecomputer/shearwater_predator.h>
#include <libdivecomputer/shearwater_petrel.h>
#include <libdivecomputer/units.h>
#include "context-private.h"