summaryrefslogtreecommitdiff
path: root/type_logic.c
diff options
context:
space:
mode:
authorDaniel Elstner <daniel.kitta@gmail.com>2015-09-13 22:07:11 +0200
committerDaniel Elstner <daniel.kitta@gmail.com>2015-09-13 22:07:11 +0200
commit367843620d039ad183bc4d7c33d91c316d717621 (patch)
treec2deb210b2f59905493a6a4cc9a4f7e87331354c /type_logic.c
parent4916b17368e8ed06f4bfd045052ab0f891c33954 (diff)
downloadlibsigrokdecode-367843620d039ad183bc4d7c33d91c316d717621.tar.gz
libsigrokdecode-367843620d039ad183bc4d7c33d91c316d717621.zip
Build: Include <config.h> first in all source files
Since Autoconf places some important feature flags only into the configuration header, it is necessary to include it globally to guarantee a consistent build.
Diffstat (limited to 'type_logic.c')
-rw-r--r--type_logic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/type_logic.c b/type_logic.c
index a33d997..0b11339 100644
--- a/type_logic.c
+++ b/type_logic.c
@@ -17,9 +17,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <config.h>
#include "libsigrokdecode-internal.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */
#include "libsigrokdecode.h"
-#include "config.h"
#include <inttypes.h>
#include <string.h>