diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-12-22 15:41:48 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-12-22 15:42:51 +1100 |
commit | 9c046098db4b921261f09d148f33a8be40131de0 (patch) | |
tree | 25ef196074d9b1848a9297563cb91a3b01264f80 /libstb/test | |
parent | abcec8ddfb509c965cb66b555e0d59e03e504c04 (diff) | |
download | skiboot-9c046098db4b921261f09d148f33a8be40131de0.zip skiboot-9c046098db4b921261f09d148f33a8be40131de0.tar.gz skiboot-9c046098db4b921261f09d148f33a8be40131de0.tar.bz2 |
print-stb-container: Fix build on centos7
Because of ordering of include files, we got:
/usr/include/bits/stat.h:106:31: error: expected identifier or '(' before '[' token
__syscall_slong_t __unused[3];
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libstb/test')
-rw-r--r-- | libstb/test/print-stb-container.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libstb/test/print-stb-container.c b/libstb/test/print-stb-container.c index 8ce623d..92a3ab5 100644 --- a/libstb/test/print-stb-container.c +++ b/libstb/test/print-stb-container.c @@ -18,8 +18,6 @@ #include <stdbool.h> #include <types.h> -#include "../container.h" -#include "../container.c" #include <stdio.h> #include <stdlib.h> @@ -32,6 +30,9 @@ #include <fcntl.h> #include <assert.h> +#include "../container.h" +#include "../container.c" + static void display_version_raw(const ROM_version_raw v) { printf("ver_alg:\n"); |