summaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/bitypes.h4
-rw-r--r--include/sys/cdefs.h5
-rw-r--r--include/sys/socket.h1
-rw-r--r--include/sys/wait.h1
4 files changed, 4 insertions, 7 deletions
diff --git a/include/sys/bitypes.h b/include/sys/bitypes.h
index e2ac0ab45..ec7781a9d 100644
--- a/include/sys/bitypes.h
+++ b/include/sys/bitypes.h
@@ -83,12 +83,12 @@
typedef unsigned short u_int16_t;
typedef int int32_t;
typedef unsigned int u_int32_t;
-
+#if 0
# if __GNUC__ >= 2 && !defined(__STRICT_ANSI__)
typedef long long int64_t;
typedef unsigned long long u_int64_t;
# endif
-
+#endif
#endif /* __BIT_TYPES_DEFINED__ */
/* #endif __USE_BSD */
diff --git a/include/sys/cdefs.h b/include/sys/cdefs.h
index 0afc8830f..4acb72b70 100644
--- a/include/sys/cdefs.h
+++ b/include/sys/cdefs.h
@@ -10,7 +10,6 @@
/* This is not a typedef so `const __ptr_t' does the right thing. */
#define __ptr_t void *
-typedef long double __long_double_t;
#else
@@ -19,10 +18,6 @@ typedef long double __long_double_t;
#define __ptr_t char *
-#ifndef __HAS_NO_FLOATS__
-typedef double __long_double_t;
-#endif
-
#endif
/* No C++ */
diff --git a/include/sys/socket.h b/include/sys/socket.h
index 5dcef2d1b..3a898ee13 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -2,6 +2,7 @@
#define _SYS_SOCKET_H
#include <features.h>
+#include <errno.h>
#include <sys/types.h>
#include <linux/socket.h>
diff --git a/include/sys/wait.h b/include/sys/wait.h
index 95f1b2eab..14c237307 100644
--- a/include/sys/wait.h
+++ b/include/sys/wait.h
@@ -24,6 +24,7 @@ Cambridge, MA 02139, USA. */
#define _SYS_WAIT_H 1
#include <features.h>
+#include <errno.h>
__BEGIN_DECLS