11 lines
497 B
Text
11 lines
497 B
Text
--- libs/pfl/common/lthread/pgpSemaphore.c.orig 1998-03-17 21:08:17.000000000 -0800
|
|
+++ libs/pfl/common/lthread/pgpSemaphore.c 2008-09-01 10:01:39.000000000 -0700
|
|
@@ -41,7 +41,7 @@ int PGPSemDestroy(PGPSem_t *sem)
|
|
#endif /* end PGP_UNIX_SOLARIS */
|
|
|
|
/* Linux has sem_init function but no headers ?? */
|
|
-#if HAVE_SEM_INIT && !PGP_UNIX_LINUX
|
|
+#if HAVE_SEM_INIT && !PGP_UNIX_LINUX && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
|
|
|
|
PGPSemAttr_t PGPSemAttr_def = {0, 0};
|
|
|