mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
d844465474
* fix misspelled directory name * clean up patches * intentionally remove jdk RUN_DEPENDS, applications that use this will have a RUN_DEPENDS on a jdk ok sthen@ pascal@ ian@
23 lines
543 B
Plaintext
23 lines
543 B
Plaintext
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 <sys/timeb.h>
|
|
+#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"
|