fix eventfd and inotify nonblock/cloexec flags to match arch values
[musl] / include / glob.h
index 376baa7..9fbbaa6 100644 (file)
@@ -5,6 +5,8 @@
 extern "C" {
 #endif
 
+#include <features.h>
+
 #define __NEED_size_t
 
 #include <bits/alltypes.h>
@@ -17,7 +19,7 @@ typedef struct {
        void *__dummy2[5];
 } glob_t;
 
-int  glob(const char *, int, int (*)(const char *, int), glob_t *);
+int  glob(const char *__restrict, int, int (*)(const char *, int), glob_t *__restrict);
 void globfree(glob_t *);
 
 #define GLOB_ERR      0x01