From f6c7eade2b8853b3d525b5cc0402e89ca74c1908 Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Tue, 1 Jul 2014 00:07:40 +0200 Subject: Remove dependency on Python.h from public API header This prevents Python.h from being included into client code, where it can mess things up by e.g. redefining _POSIX_C_SOURCE. --- log.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'log.c') diff --git a/log.c b/log.c index 1723a0e..9d0bc73 100644 --- a/log.c +++ b/log.c @@ -18,8 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include "libsigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */ -#include "libsigrokdecode-internal.h" +#include "libsigrokdecode-internal.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */ +#include "libsigrokdecode.h" #include #include -- cgit v1.2.3-70-g09d2