output_autoconf(s, o, cs, "autoconf-files_lookup_fd_raw.c",
"STAPCONF_FILES_LOOKUP_FD_RAW", NULL);
output_autoconf(s, o, cs, "autoconf-task-state.c", "STAPCONF_TASK_STATE", NULL);
+
+ output_autoconf(s, o, cs, "autoconf-linux-unaligned-h.c", "STAPCONF_LINUX_UNALIGNED_H", NULL);
+
// used by runtime/linux/netfilter.c
output_exportconf(s, o2, "nf_register_hook", "STAPCONF_NF_REGISTER_HOOK");
#ifdef STP_NEED_LINE_DATA
#include "unwind/unwind.h"
#endif
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,12,0)
+#ifdef STAPCONF_LINUX_UNALIGNED_H
#include <linux/unaligned.h>
#else
#include <asm/unaligned.h>