]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add ipc_priv.h header for Nios II to set __IPC_64 to zero.
authorChung-Lin Tang <cltang@codesourcery.com>
Tue, 31 Jan 2017 14:18:42 +0000 (06:18 -0800)
committerChung-Lin Tang <cltang@codesourcery.com>
Tue, 31 Jan 2017 14:18:42 +0000 (06:18 -0800)
ChangeLog
sysdeps/unix/sysv/linux/nios2/ipc_priv.h [new file with mode: 0644]

index a7f0434e35e421c2c68e8a20cb8a927b2e50fb4e..e715d6f454ed49683b899c24c140e8d0200642cf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
+
+       * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
+
 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
 
        [BZ #21081]
diff --git a/sysdeps/unix/sysv/linux/nios2/ipc_priv.h b/sysdeps/unix/sysv/linux/nios2/ipc_priv.h
new file mode 100644 (file)
index 0000000..d5c6c0a
--- /dev/null
@@ -0,0 +1,21 @@
+/* Old SysV permission definition for Linux.  Nios II version.
+   Copyright (C) 2017 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
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
+
+#include <sys/ipc.h>  /* For __key_t  */
+
+#define __IPC_64       0x0