diff options
-rw-r--r-- | etnaviv/etnaviv_compat.h | 5 | ||||
-rw-r--r-- | etnaviv/etnaviv_dummy.c | 2 | ||||
-rw-r--r-- | etnaviv/etnaviv_utils.h | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/etnaviv/etnaviv_compat.h b/etnaviv/etnaviv_compat.h index a6050a3..4c11f2c 100644 --- a/etnaviv/etnaviv_compat.h +++ b/etnaviv/etnaviv_compat.h @@ -7,6 +7,11 @@ #ifndef ETNAVIV_COMPAT_H #define ETNAVIV_COMPAT_H +#include <stdint.h> + +struct etna_bo; +struct viv_conn; + /* * Etnaviv itself does not provide these functions. We'd like these * to be named this way, but some incompatible etnaviv functions clash. diff --git a/etnaviv/etnaviv_dummy.c b/etnaviv/etnaviv_dummy.c index a4dfa27..8d70018 100644 --- a/etnaviv/etnaviv_dummy.c +++ b/etnaviv/etnaviv_dummy.c @@ -1,7 +1,7 @@ /* * libetnaviv "compatibility" with additional etnaviv/drm APIs */ -#include <etnaviv/viv.h> +#include <stdlib.h> #include "etnaviv_compat.h" int etna_bo_flink(struct etna_bo *bo, uint32_t *name) diff --git a/etnaviv/etnaviv_utils.h b/etnaviv/etnaviv_utils.h index 36ca4fe..9d66f4c 100644 --- a/etnaviv/etnaviv_utils.h +++ b/etnaviv/etnaviv_utils.h @@ -9,8 +9,6 @@ #include "utils.h" -#include <etnaviv/viv.h> - struct etnaviv; struct etnaviv_pixmap; |