aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2013-04-02 04:38:23 +0200
committerrofl0r <retnyg@gmx.net>2013-04-02 04:58:14 +0200
commit47cf4919fc834a917185ace26dfd1c2ab760676d (patch)
tree550f769007141b9278c71182b6b6f3dd4720edde /include
parent82aad3a31726feb29981846886a17fceee605287 (diff)
downloadmusl-47cf4919fc834a917185ace26dfd1c2ab760676d.zip
musl-47cf4919fc834a917185ace26dfd1c2ab760676d.tar.gz
musl-47cf4919fc834a917185ace26dfd1c2ab760676d.tar.bz2
re-add useconds_t
this type was removed back in 5243e5f1606a9c6fcf01414e , because it was removed from the XSI specs. however some apps use it. since it's in the POSIX reserved namespace, we can expose it unconditionally.
Diffstat (limited to 'include')
-rw-r--r--include/sys/types.h1
-rw-r--r--include/unistd.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/types.h b/include/sys/types.h
index 7378b60..6ead8b6 100644
--- a/include/sys/types.h
+++ b/include/sys/types.h
@@ -52,6 +52,7 @@ extern "C" {
#define __NEED_pthread_spinlock_t
#define __NEED_pthread_key_t
#define __NEED_pthread_once_t
+#define __NEED_useconds_t
#include <bits/alltypes.h>
diff --git a/include/unistd.h b/include/unistd.h
index 07e49e9..b9dc06d 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -24,6 +24,7 @@ extern "C" {
#define __NEED_off_t
#define __NEED_pid_t
#define __NEED_intptr_t
+#define __NEED_useconds_t
#include <bits/alltypes.h>