Skip to content

Commit

Permalink
print-stb-container: Fix build on centos7
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
stewartsmith committed Dec 22, 2016
1 parent abcec8d commit 9c04609
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libstb/test/print-stb-container.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

#include <stdbool.h>
#include <types.h>
#include "../container.h"
#include "../container.c"

#include <stdio.h>
#include <stdlib.h>
Expand All @@ -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");
Expand Down

0 comments on commit 9c04609

Please sign in to comment.