opnsense-ports/textproc/mifluz/files/patch-db__mut_pthread.c
Franco Fichtner a737ce6b05 */*: sync previously available, but unused ports
Taken from: FreeBSD
2015-04-22 06:45:04 +02:00

13 lines
217 B
C

--- db/mut_pthread.c.orig
+++ db/mut_pthread.c
@@ -50,6 +50,10 @@
#define pthread_self thr_self
#endif
+#ifndef ETIME
+#define ETIME ETIMEDOUT
+#endif
+
/*
* __db_pthread_mutex_init --
* Initialize a MUTEX.