summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux/string.h')
-rw-r--r--include/uapi/linux/string.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/uapi/linux/string.h b/include/uapi/linux/string.h
new file mode 100644
index 000000000..9d129c13f
--- /dev/null
+++ b/include/uapi/linux/string.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+#ifndef _UAPI_LINUX_STRING_H_
+#define _UAPI_LINUX_STRING_H_
+
+/* We don't want strings.h stuff being used by user stuff by accident */
+
+#ifndef __KERNEL__
+#include <string.h>
+#endif /* __KERNEL__ */
+#endif /* _UAPI_LINUX_STRING_H_ */