summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-05-28 13:18:57 -0400
committerUlrich Drepper <drepper@gmail.com>2011-05-28 13:18:57 -0400
commitd0478f0c813861837659bd41888100e2b2c5bf8c (patch)
treedb341132ba532455300205b6b7652d568b1738d4
parentde81b24662a219247b71d493a807c542edf4ec9f (diff)
Fix build for platforms with socketcall syscall
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/unix/sysv/linux/socketcall.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4a288d173c..8bfd290257 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2011-05-28 Ulrich Drepper <drepper@gmail.com>
+ * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
+
* debug/xtrace.sh: Unify messages.
* malloc/memusage.sh: Likewise.
diff --git a/sysdeps/unix/sysv/linux/socketcall.h b/sysdeps/unix/sysv/linux/socketcall.h
index bab4e4a510..73d4cb9de9 100644
--- a/sysdeps/unix/sysv/linux/socketcall.h
+++ b/sysdeps/unix/sysv/linux/socketcall.h
@@ -1,5 +1,5 @@
/* ID for functions called via socketcall system call.
- Copyright (C) 1995, 1996, 2008, 2009 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 2008, 2009, 2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -45,5 +45,6 @@
#define SOCKOP_recvmsg 17
#define SOCKOP_accept4 18
#define SOCKOP_recvmmsg 19
+#define SOCKOP_sendmmsg 20
#endif /* sys/socketcall.h */