diff --git a/bindings/java/src/jni/javasigar.c b/bindings/java/src/jni/javasigar.c index 020d6e6f..2c613574 100644 --- a/bindings/java/src/jni/javasigar.c +++ b/bindings/java/src/jni/javasigar.c @@ -15,6 +15,10 @@ #include "javasigar_generated.h" +#if defined(__osf__) +#define SIGAR_POINTER_LONG +#endif + #define JENV (*env) #define SIGAR_PACKAGE "net/hyperic/sigar/"