diff options
Diffstat (limited to 'src/ipcpd/normal/enroll.c')
| -rw-r--r-- | src/ipcpd/normal/enroll.c | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/src/ipcpd/normal/enroll.c b/src/ipcpd/normal/enroll.c index be1596d0..a33239a0 100644 --- a/src/ipcpd/normal/enroll.c +++ b/src/ipcpd/normal/enroll.c @@ -19,9 +19,11 @@   * along with this program; if not, write to the Free Software   * Foundation, Inc., http://www.fsf.org/about/contact/.   */ + +#define _POSIX_C_SOURCE 199309L +  #define OUROBOROS_PREFIX "enrollment" -#include <ouroboros/config.h>  #include <ouroboros/endian.h>  #include <ouroboros/errno.h>  #include <ouroboros/cdap.h> @@ -322,6 +324,7 @@ int enroll_init(void)  void enroll_fini(void)  { +        pthread_join(enroll.listener, NULL);          cdap_destroy(enroll.cdap);          connmgr_ae_destroy(enroll.ae);  } @@ -337,5 +340,4 @@ int enroll_start(void)  void enroll_stop(void)  {          pthread_cancel(enroll.listener); -        pthread_join(enroll.listener, NULL);  } | 
