summaryrefslogtreecommitdiff
path: root/LibC/sys
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-11-17 00:11:08 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-11-17 00:14:07 +0100
commit9d05f6b7a797ed3424bc5d0024d21e496bb4c87b (patch)
tree03369d115ecb7e6dce30a98091cb56172e9be31a /LibC/sys
parent2cf477a1512a1ca3f0571cb6de42b7a89a3a4565 (diff)
downloadserenity-9d05f6b7a797ed3424bc5d0024d21e496bb4c87b.zip
Make bash-2.05b build with minimal changes.
This is really neat. :^)
Diffstat (limited to 'LibC/sys')
-rw-r--r--LibC/sys/types.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/LibC/sys/types.h b/LibC/sys/types.h
index c50a3c799c..9b1370ec85 100644
--- a/LibC/sys/types.h
+++ b/LibC/sys/types.h
@@ -5,6 +5,14 @@
__BEGIN_DECLS
+typedef unsigned int u_int;
+typedef unsigned long u_long;
+typedef int ptrdiff_t;
+typedef unsigned long int __uintmax_t;
+typedef __uintmax_t uintmax_t;
+typedef long int __intmax_t;
+typedef __intmax_t intmax_t;
+
typedef uint32_t uid_t;
typedef uint32_t gid_t;
typedef int pid_t;