about summary refs log tree commit diff
path: root/sysdeps/unix/sysv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-04-01 19:25:51 +0000
committerUlrich Drepper <drepper@redhat.com>2009-04-01 19:25:51 +0000
commit3ce976cd88fd6d4f24a64fd6d9557ea505e4bcc5 (patch)
treea0ac74f560661c1df0610c35d3b17dcb445f20a0 /sysdeps/unix/sysv
parent22c8319345a279e22cf17aa5f9aa851a2b4091c2 (diff)
downloadglibc-3ce976cd88fd6d4f24a64fd6d9557ea505e4bcc5.tar.gz
glibc-3ce976cd88fd6d4f24a64fd6d9557ea505e4bcc5.tar.xz
glibc-3ce976cd88fd6d4f24a64fd6d9557ea505e4bcc5.zip
* sysdeps/unix/sysv/linux/sys/eventfd.h (EFD_SEMAPHORE): Define.
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r--sysdeps/unix/sysv/linux/sys/eventfd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/sys/eventfd.h b/sysdeps/unix/sysv/linux/sys/eventfd.h
index 7c6cf7196d..d942df4bf9 100644
--- a/sysdeps/unix/sysv/linux/sys/eventfd.h
+++ b/sysdeps/unix/sysv/linux/sys/eventfd.h
@@ -28,6 +28,8 @@ typedef uint64_t eventfd_t;
 /* Flags for signalfd.  */
 enum
   {
+    EFD_SEMAPHORE = 1,
+#define EFD_SEMAPHORE EFD_SEMAPHORE
     EFD_CLOEXEC = 02000000,
 #define EFD_CLOEXEC EFD_CLOEXEC
     EFD_NONBLOCK = 04000