]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap_r/thr_posix.c
ITS#7115 blocked writers should not interfere with pool pause
[openldap] / libraries / libldap_r / thr_posix.c
index a7eb90222fe4bd252041188685e86ab19e0cd331..0fa9ec96d9d88531adb5c272d58dd824a88e7133 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2008 The OpenLDAP Foundation.
+ * Copyright 1998-2011 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -31,6 +31,7 @@
 #define LDAP_THREAD_IMPLEMENTATION
 #define LDAP_THREAD_RDWR_IMPLEMENTATION
 #include "ldap_thr_debug.h"     /* May rename the symbols defined below */
+#include <signal.h>                     /* For pthread_kill() */
 
 #if HAVE_PTHREADS < 6
 #  define LDAP_INT_THREAD_ATTR_DEFAULT         pthread_attr_default