summaryrefslogtreecommitdiff
path: root/tests/test-pedantic-compilation.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-pedantic-compilation.c')
-rw-r--r--tests/test-pedantic-compilation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-pedantic-compilation.c b/tests/test-pedantic-compilation.c
index bb88d1a82..f2b254b5d 100644
--- a/tests/test-pedantic-compilation.c
+++ b/tests/test-pedantic-compilation.c
@@ -1,3 +1,5 @@
+#include <stdio.h>
+
#include <gphoto2/gphoto2.h>
#include <gphoto2/gphoto2-camera.h>
#include <gphoto2/gphoto2-list.h>
@@ -15,8 +17,6 @@
#include <gphoto2/gphoto2-port-result.h>
#include <gphoto2/gphoto2-port-version.h>
-#include <stdio.h>
-
#ifdef __STDC_VERSION__
unsigned long stdc_version = __STDC_VERSION__;
#endif