[PATCH v4 16/79] include/uapi/linux/agpgart.h: include stdlib.h in userspace

From: Mikko Rapeli
Date: Thu Oct 15 2015 - 02:10:19 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.5.0

--
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/