aboutsummaryrefslogtreecommitdiff
path: root/posix/sys/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'posix/sys/types.h')
-rw-r--r--posix/sys/types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/posix/sys/types.h b/posix/sys/types.h
index be37340025..7a0b3828c3 100644
--- a/posix/sys/types.h
+++ b/posix/sys/types.h
@@ -121,6 +121,10 @@ typedef __key_t key_t;
#include <time.h>
#ifdef __USE_XOPEN
+# ifndef __useconds_t_defined
+typedef __useconds_t useconds_t;
+# define __useconds_t_defined
+# endif
typedef __suseconds_t suseconds_t;
#endif