diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-07-12 19:10:22 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-07-12 19:10:22 -0400 |
commit | f1743f00e6058d2dee44510f3ef165c549a6291e (patch) | |
tree | 00286e777fefe26691e14be0e77536f0c9737214 /runtime/loc2c-runtime.h | |
parent | ad125a746537f806424fbad8d36eff332dffc25a (diff) | |
download | systemtap-steved-f1743f00e6058d2dee44510f3ef165c549a6291e.tar.gz systemtap-steved-f1743f00e6058d2dee44510f3ef165c549a6291e.tar.xz systemtap-steved-f1743f00e6058d2dee44510f3ef165c549a6291e.zip |
PR6738: restore support for rhel4-era (2.6.9) kernels
Diffstat (limited to 'runtime/loc2c-runtime.h')
-rw-r--r-- | runtime/loc2c-runtime.h | 4 |
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 |