Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1467901

[PATCH v05 14/72] include/uapi/asm-generic/ipcbuf.h: include linux/posix_types.h

From Mikko Rapeli <mikko.rapeli@iki.fi>
Newsgroups linux.kernel
Subject [PATCH v05 14/72] include/uapi/asm-generic/ipcbuf.h: include linux/posix_types.h
Date 2016-08-22 20:40 +0200
Message-ID <s92iC-1rh-29@gated-at.bofh.it> (permalink)
References <s92iC-1rh-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Fixes userspace compilation error:

error: unknown type name ‘__kernel_key_t’

Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
---
 include/uapi/asm-generic/ipcbuf.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/uapi/asm-generic/ipcbuf.h b/include/uapi/asm-generic/ipcbuf.h
index 3dbcc1e..909f825 100644
--- a/include/uapi/asm-generic/ipcbuf.h
+++ b/include/uapi/asm-generic/ipcbuf.h
@@ -1,6 +1,8 @@
 #ifndef __ASM_GENERIC_IPCBUF_H
 #define __ASM_GENERIC_IPCBUF_H
 
+#include <linux/posix_types.h>
+
 /*
  * The generic ipc64_perm structure:
  * Note extra padding because this structure is passed back and forth
-- 
2.8.1

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH v05 14/72] include/uapi/asm-generic/ipcbuf.h: include linux/posix_types.h Mikko Rapeli <mikko.rapeli@iki.fi> - 2016-08-22 20:40 +0200
  Re: [PATCH v05 14/72] include/uapi/asm-generic/ipcbuf.h: include linux/posix_types.h Arnd Bergmann <arnd@arndb.de> - 2016-08-24 17:40 +0200

csiph-web