summaryrefslogtreecommitdiff
path: root/scripts/build/probes/libc_headers.c
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/probes/libc_headers.c')
-rw-r--r--scripts/build/probes/libc_headers.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/build/probes/libc_headers.c b/scripts/build/probes/libc_headers.c
new file mode 100644
index 0000000..e4bdd20
--- /dev/null
+++ b/scripts/build/probes/libc_headers.c
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include <assert.h>
+#include <inttypes.h>
+#include <stdint.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+_Static_assert(sizeof(uintptr_t) == sizeof(void*), "uintptr_t must hold a pointer");