include/uapi/linux/agpgart.h: include stdlib.h in userspace

Started by Mikko Rapeli on Oct 15, 2015

Subsystems (2)

Maintainers (2)

DORMANTno replies SUPERSEDED

Status: Superseded by v06 (posted 2017-08-06). [go to v06]

Revision v4 (4 revisions archived).

Revisions (4)
  1. v03
  2. v4 current [diff against previous]
  3. v05 [diff against previous]
  4. v06 [diff against previous]

open the first message on its own page

Message details and related content
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.5.0
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help