Browse Source

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

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

Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
Mikko Rapeli 10 years ago
parent
commit
35d0f1d54e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      include/uapi/linux/agpgart.h

+ 1 - 0
include/uapi/linux/agpgart.h

@@ -52,6 +52,7 @@
 
 #ifndef __KERNEL__
 #include <linux/types.h>
+#include <stdlib.h>
 
 struct agp_version {
 	__u16 major;