From: Uwe Hermann Date: Tue, 3 Jan 2012 18:56:01 +0000 (+0100) Subject: sr/srd: Fix left-over #includes. X-Git-Tag: libsigrokdecode-0.1.0~220 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=73191416cc24884ffab5f21cc3405c7757884fba;p=libsigrokdecode.git sr/srd: Fix left-over #includes. The libs themselves should use #include "sigrok.h" etc., while the frontends must use #include and so on. --- diff --git a/controller.c b/controller.c index db85c23..84a22b5 100644 --- a/controller.c +++ b/controller.c @@ -19,7 +19,7 @@ */ #include "config.h" -#include /* First, so we avoid a _POSIX_C_SOURCE warning. */ +#include "sigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */ #include #include diff --git a/decoder.c b/decoder.c index 9f951c1..628e953 100644 --- a/decoder.c +++ b/decoder.c @@ -19,7 +19,7 @@ */ #include "config.h" -#include /* First, so we avoid a _POSIX_C_SOURCE warning. */ +#include "sigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */ #include /* The list of protocol decoders. */ diff --git a/util.c b/util.c index 0885626..6164aaa 100644 --- a/util.c +++ b/util.c @@ -19,7 +19,7 @@ */ #include "config.h" -#include /* First, so we avoid a _POSIX_C_SOURCE warning. */ +#include "sigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */ /**