summaryrefslogtreecommitdiff
path: root/mit-pthreads/machdep/sunos-5.3/__stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'mit-pthreads/machdep/sunos-5.3/__stdlib.h')
-rwxr-xr-xmit-pthreads/machdep/sunos-5.3/__stdlib.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/mit-pthreads/machdep/sunos-5.3/__stdlib.h b/mit-pthreads/machdep/sunos-5.3/__stdlib.h
new file mode 100755
index 00000000000..a0717ce3c2b
--- /dev/null
+++ b/mit-pthreads/machdep/sunos-5.3/__stdlib.h
@@ -0,0 +1,27 @@
+
+#ifndef _SYS___STDLIB_H_
+#define _SYS___STDLIB_H_
+
+#include <sys/feature_tests.h>
+
+#ifndef _SIZE_T
+#define _SIZE_T
+typedef unsigned int size_t;
+#endif
+
+#ifndef _UID_T
+#define _UID_T
+typedef long uid_t;
+#endif
+
+#ifndef NULL
+#define NULL 0
+#endif
+
+#ifndef _WCHAR_T
+#define _WCHAR_T
+typedef long wchar_t;
+#endif
+
+
+#endif