Files

23 lines
543 B
Plaintext
Raw Permalink Normal View History

2020-11-04 20:45:00 +00:00
OpenBSD doesn't support timeb api
2025-12-23 00:42:47 +00:00
Index: src/c/wrapper.h
--- src/c/wrapper.h.orig
+++ src/c/wrapper.h
@@ -52,7 +52,16 @@
2020-11-04 20:45:00 +00:00
#define DWORD unsigned long
#endif
2025-12-23 00:42:47 +00:00
+#ifndef OPENBSD
#include <sys/timeb.h>
+#else
2020-11-04 20:45:00 +00:00
+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 */
+};
2025-12-23 00:42:47 +00:00
+#endif
2020-11-04 20:45:00 +00:00
#include "property.h"
#include "wrapper_jvminfo.h"