projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
prevent shmget from allocating objects that overflow ptrdiff_t
[oweals/musl.git]
/
include
/
mqueue.h
diff --git
a/include/mqueue.h
b/include/mqueue.h
index bd35842c42ca7f5b42e11b1625dbb5ea3c33601e..f5cbe79656b3ab2fdcfc18c91229649e77a2c82e 100644
(file)
--- a/
include/mqueue.h
+++ b/
include/mqueue.h
@@
-4,11
+4,7
@@
extern "C" {
#endif
extern "C" {
#endif
-#if __STDC_VERSION__ >= 199901L
-#define __restrict restrict
-#elif !defined(__GNUC__)
-#define __restrict
-#endif
+#include <features.h>
#define __NEED_size_t
#define __NEED_ssize_t
#define __NEED_size_t
#define __NEED_ssize_t