فهرست منبع

include missing Linux extension headers for poll.h

This was found by Buildroot autobuilders for m68k.
Waldemar Brodkorb 10 سال پیش
والد
کامیت
7a575d9844
3فایلهای تغییر یافته به همراه21 افزوده شده و 0 حذف شده
  1. 7 0
      libc/sysdeps/linux/c6x/bits/poll.h
  2. 7 0
      libc/sysdeps/linux/m68k/bits/poll.h
  3. 7 0
      libc/sysdeps/linux/microblaze/bits/poll.h

+ 7 - 0
libc/sysdeps/linux/c6x/bits/poll.h

@@ -34,6 +34,13 @@
 # define POLLWRBAND	0x100		/* Priority data may be written.  */
 #endif
 
+#ifdef __USE_GNU
+/* These are extensions for Linux.  */
+# define POLLMSG	0x400
+# define POLLREMOVE	0x1000
+# define POLLRDHUP	0x2000
+#endif
+
 /* Event types always implicitly polled for.  These bits need not be set in
    `events', but they will appear in `revents' to indicate the status of
    the file descriptor.  */

+ 7 - 0
libc/sysdeps/linux/m68k/bits/poll.h

@@ -34,6 +34,13 @@
 # define POLLWRBAND	0x100		/* Priority data may be written.  */
 #endif
 
+#ifdef __USE_GNU
+/* These are extensions for Linux.  */
+# define POLLMSG	0x400
+# define POLLREMOVE	0x1000
+# define POLLRDHUP	0x2000
+#endif
+
 /* Event types always implicitly polled for.  These bits need not be set in
    `events', but they will appear in `revents' to indicate the status of
    the file descriptor.  */

+ 7 - 0
libc/sysdeps/linux/microblaze/bits/poll.h

@@ -34,6 +34,13 @@
 # define POLLWRBAND	0x0200		/* Priority data may be written.  */
 #endif
 
+#ifdef __USE_GNU
+/* These are extensions for Linux.  */
+# define POLLMSG	0x400
+# define POLLREMOVE	0x1000
+# define POLLRDHUP	0x2000
+#endif
+
 /* Event types always implicitly polled for.  These bits need not be set in
    `events', but they will appear in `revents' to indicate the status of
    the file descriptor.  */