diff options
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r-- | payloads/libpayload/include/libpayload.h | 1 | ||||
-rw-r--r-- | payloads/libpayload/include/sys/types.h | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h index c2510b7373..0b9ab0dcd5 100644 --- a/payloads/libpayload/include/libpayload.h +++ b/payloads/libpayload/include/libpayload.h @@ -58,6 +58,7 @@ #include <stdlib.h> #include <string.h> #include <time.h> +#include <sys/types.h> #include <arch/types.h> #include <arch/io.h> #include <arch/virtual.h> diff --git a/payloads/libpayload/include/sys/types.h b/payloads/libpayload/include/sys/types.h index ae143d702c..0ed4975862 100644 --- a/payloads/libpayload/include/sys/types.h +++ b/payloads/libpayload/include/sys/types.h @@ -27,4 +27,11 @@ * SUCH DAMAGE. */ +#ifndef _SYS_TYPES_H +#define _SYS_TYPES_H + #include <arch/types.h> + +typedef signed long int off_t; + +#endif /* _SYS_TYPES_H */ |