summaryrefslogtreecommitdiffstats
path: root/usr/dummy-include/stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/dummy-include/stdlib.h')
-rw-r--r--usr/dummy-include/stdlib.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/usr/dummy-include/stdlib.h b/usr/dummy-include/stdlib.h
new file mode 100644
index 0000000000..e8c21888e3
--- /dev/null
+++ b/usr/dummy-include/stdlib.h
@@ -0,0 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+#ifndef _STDLIB_H
+#define _STDLIB_H
+
+#error "Please do not include <stdlib.h> from exported headers"
+
+#endif /* _STDLIB_H */