summaryrefslogtreecommitdiff
path: root/mit-pthreads/machdep/linux-2.0/__stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'mit-pthreads/machdep/linux-2.0/__stdlib.h')
-rwxr-xr-xmit-pthreads/machdep/linux-2.0/__stdlib.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/mit-pthreads/machdep/linux-2.0/__stdlib.h b/mit-pthreads/machdep/linux-2.0/__stdlib.h
new file mode 100755
index 00000000000..eaa0bb988ee
--- /dev/null
+++ b/mit-pthreads/machdep/linux-2.0/__stdlib.h
@@ -0,0 +1,20 @@
+
+#ifndef _SYS___STDLIB_H_
+#define _SYS___STDLIB_H_
+
+#include <features.h>
+
+/* Get size_t, wchar_t and NULL from <stddef.h>. */
+#define __need_size_t
+#define __need_wchar_t
+#define __need_NULL
+#include <stddef.h>
+
+#define __need_Emath
+#include <errno.h>
+
+/* Get HUGE_VAL (returned by strtod on overflow) from <float.h>. */
+#define __need_HUGE_VAL
+#include <float.h>
+
+#endif