diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2015-08-17 18:41:11 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2015-08-17 18:41:11 +0900 |
commit | 25784d3af2f37d86fb25ee6cfa4afa6f3448af9b (patch) | |
tree | b0fc90556ec5ff6b42b551d4c62dd1eb14a8406f /tests | |
parent | f05a74fb9cb07a02c9bade65d66ba6949a2567a2 (diff) |
tests/amdgpu: Include config.h first
Fixes build failure on 32-bit because _FILE_OFFSET_BITS wasn't defined to
64.
Reviewed-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/amdgpu/amdgpu_test.c | 5 | ||||
-rw-r--r-- | tests/amdgpu/basic_tests.c | 5 | ||||
-rw-r--r-- | tests/amdgpu/bo_tests.c | 5 | ||||
-rw-r--r-- | tests/amdgpu/cs_tests.c | 5 | ||||
-rw-r--r-- | tests/amdgpu/vce_tests.c | 4 |
5 files changed, 24 insertions, 0 deletions
diff --git a/tests/amdgpu/amdgpu_test.c b/tests/amdgpu/amdgpu_test.c index ed27e246..65689905 100644 --- a/tests/amdgpu/amdgpu_test.c +++ b/tests/amdgpu/amdgpu_test.c @@ -20,6 +20,11 @@ * OTHER DEALINGS IN THE SOFTWARE. * */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <string.h> #include <stdio.h> #include <stdlib.h> diff --git a/tests/amdgpu/basic_tests.c b/tests/amdgpu/basic_tests.c index 44c6e4d4..78740393 100644 --- a/tests/amdgpu/basic_tests.c +++ b/tests/amdgpu/basic_tests.c @@ -20,6 +20,11 @@ * OTHER DEALINGS IN THE SOFTWARE. * */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <stdlib.h> #include <unistd.h> diff --git a/tests/amdgpu/bo_tests.c b/tests/amdgpu/bo_tests.c index e4040d6f..993895d8 100644 --- a/tests/amdgpu/bo_tests.c +++ b/tests/amdgpu/bo_tests.c @@ -20,6 +20,11 @@ * OTHER DEALINGS IN THE SOFTWARE. * */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include "CUnit/Basic.h" diff --git a/tests/amdgpu/cs_tests.c b/tests/amdgpu/cs_tests.c index faceb832..416f36b9 100644 --- a/tests/amdgpu/cs_tests.c +++ b/tests/amdgpu/cs_tests.c @@ -20,6 +20,11 @@ * OTHER DEALINGS IN THE SOFTWARE. * */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include "CUnit/Basic.h" diff --git a/tests/amdgpu/vce_tests.c b/tests/amdgpu/vce_tests.c index b5493929..0542654d 100644 --- a/tests/amdgpu/vce_tests.c +++ b/tests/amdgpu/vce_tests.c @@ -21,6 +21,10 @@ * */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <inttypes.h> |