summaryrefslogtreecommitdiff
path: root/util.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 /util.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 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 764474b..be14041 100644
--- a/util.c
+++ b/util.c
@@ -18,9 +18,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"
/**
* Get the value of a Python object's attribute, returned as a newly