include/uapi/linux/agpgart.h: include stdlib.h in userspace
authorMikko Rapeli <mikko.rapeli@iki.fi>
Sun, 1 Feb 2015 14:10:41 +0000 (15:10 +0100)
committerGabriel Laskar <gabriel@lse.epita.fr>
Thu, 10 Dec 2015 11:33:23 +0000 (12:33 +0100)
Fixes userspace compiler error:
error: unknown type name ‘size_t’

Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
include/uapi/linux/agpgart.h

index 4e828cf487bc413267eb06dcf5cb98aeda26390c..f5251045181a22ff9c3eab640482afe4621623af 100644 (file)
@@ -52,6 +52,7 @@
 
 #ifndef __KERNEL__
 #include <linux/types.h>
+#include <stdlib.h>
 
 struct agp_version {
        __u16 major;