[nios2,committed] Add ipc_priv.h to set __IPC_64 as zero.
Commit Message
Similar to Tile [1] and a few other archs, Nios II does not set CONFIG_ARCH_WANT_IPC_PARSE_VERSION
in the kernel. Committed patch adds the similar ipc_priv.h header to define __IPC_64 as zero.
Chung-Lin
[1] https://sourceware.org/ml/libc-alpha/2017-01/msg00258.html
2017-01-31 Chung-Lin Tang <cltang@codesourcery.com>
* sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
new file mode 100644
@@ -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