OpenBSD doesn't support timeb api Index: src/c/wrapper.h --- src/c/wrapper.h.orig +++ src/c/wrapper.h @@ -52,7 +52,16 @@ #define DWORD unsigned long #endif +#ifndef OPENBSD #include +#else +struct timeb { + time_t time; /* seconds since the Epoch */ + unsigned short millitm; /* + milliseconds since the Epoch */ + short timezone; /* minutes west of UTC */ + short dstflag; /* DST == non-zero */ +}; +#endif #include "property.h" #include "wrapper_jvminfo.h"