summaryrefslogtreecommitdiffstats
path: root/runtime/loc2c-runtime.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/loc2c-runtime.h')
-rw-r--r--runtime/loc2c-runtime.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/loc2c-runtime.h b/runtime/loc2c-runtime.h
index a7472691..215676ee 100644
--- a/runtime/loc2c-runtime.h
+++ b/runtime/loc2c-runtime.h
@@ -9,7 +9,11 @@
* later version.
*/
+#ifdef STAPCONF_LINUX_UACCESS_H
#include <linux/uaccess.h>
+#else
+#include <asm/uaccess.h>
+#endif
#include <linux/types.h>
#define intptr_t long
#define uintptr_t unsigned long