openbsd-ports/www/privoxy/patches/patch-jcc_h
sturm 6035b15ee1 update to 3.0.2
- fixes two memory leaks, one serious
- quite some filter changes, upgraders beware!
- for details, see http://www.privoxy.org/announce.txt

from MAINTAINER
2003-04-01 20:52:59 +00:00

14 lines
426 B
Plaintext

$OpenBSD: patch-jcc_h,v 1.1 2003/04/01 20:52:59 sturm Exp $
--- jcc.h.orig Thu Mar 6 22:41:05 2003
+++ jcc.h Sat Mar 29 19:13:52 2003
@@ -121,7 +121,8 @@ extern int no_daemon;
extern int g_terminate;
#endif
-#ifdef OSX_DARWIN
+#if defined(OSX_DARWIN) || defined(__OpenBSD__)
+#include <pthread.h>
extern pthread_mutex_t gmtime_mutex;
extern pthread_mutex_t localtime_mutex;
extern pthread_mutex_t gethostbyaddr_mutex;