[PATCH 38/45] include/uapi/linux/agpgart.h: include stdlib.h in userspace

From: Mikko Rapeli
Date: Mon Feb 16 2015 - 18:08:13 EST


Fixes userspace compiler error:
error: unknown type name âsize_tâ

Signed-off-by: Mikko Rapeli <mikko.rapeli@xxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/