Thread (1 message) 1 message, 1 author, 2015-05-30

[PATCH 17/98] include/uapi/linux/agpgart.h: include stdlib.h in userspace

From: Mikko Rapeli <hidden>
Date: 2015-05-30 15:50:14
Also in: lkml
Subsystem: agpgart driver, the rest · Maintainers: David Airlie, Linus Torvalds

Fixes userspace compiler error:
error: unknown type name ‘size_t’

Signed-off-by: Mikko Rapeli <redacted>
---
 include/uapi/linux/agpgart.h | 1 +
 1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/agpgart.h b/include/uapi/linux/agpgart.h
index 4e828cf..f525104 100644
--- a/include/uapi/linux/agpgart.h
+++ b/include/uapi/linux/agpgart.h
@@ -52,6 +52,7 @@
 
 #ifndef __KERNEL__
 #include <linux/types.h>
+#include <stdlib.h>
 
 struct agp_version {
 	__u16 major;
-- 
2.1.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help