summaryrefslogtreecommitdiff
path: root/include/unistd.h
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/unistd.h
parent82aad3a31726feb29981846886a17fceee605287 (diff)
downloadmusl-47cf4919fc834a917185ace26dfd1c2ab760676d.tar.gz
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/unistd.h')
-rw-r--r--include/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 07e49e97..b9dc06d5 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>