git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kbuild: prevent exported headers from including <stdlib.h>, <stdbool.h>
[sfrench/cifs-2.6.git]
/
usr
/
dummy-include
/
stdlib.h
diff --git a/usr/dummy-include/stdlib.h
b/usr/dummy-include/stdlib.h
new file mode 100644
(file)
index 0000000..
e8c2188
--- /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 */