summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/include/unistd.h')
-rw-r--r--payloads/libpayload/include/unistd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/payloads/libpayload/include/unistd.h b/payloads/libpayload/include/unistd.h
index 878638d419..1e39aeb058 100644
--- a/payloads/libpayload/include/unistd.h
+++ b/payloads/libpayload/include/unistd.h
@@ -27,4 +27,13 @@
* SUCH DAMAGE.
*/
+#ifndef _UNISTD_H
+#define _UNISTD_H
+
+#include <stddef.h>
+
+typedef ptrdiff_t ssize_t;
+
int getpagesize(void);
+
+#endif