tests/check_session.c: Fix compiler warning.
authorUwe Hermann <uwe@hermann-uwe.de>
Wed, 30 Jul 2014 22:02:22 +0000 (00:02 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Wed, 30 Jul 2014 22:02:22 +0000 (00:02 +0200)
This fixes 'warning: "_POSIX_C_SOURCE" redefined' with some Python
versions.

tests/check_session.c

index f411854626a0a4c83e7d5586e186891d0bf5f538..f996df5849d391618d788149333b085e432c2be2 100644 (file)
@@ -18,8 +18,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#include "../libsigrokdecode.h" /* First, to avoid compiler warning. */
-#include "../libsigrokdecode-internal.h"
+#include "../libsigrokdecode-internal.h" /* First, to avoid compiler warning. */
+#include "../libsigrokdecode.h"
 #include <stdint.h>
 #include <stdlib.h>
 #include <check.h>