]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hashmap: re-add missing header file pthread.h
authorFranck Bui <fbui@suse.com>
Fri, 11 Dec 2015 08:55:17 +0000 (09:55 +0100)
committerFranck Bui <fbui@suse.com>
Fri, 11 Dec 2015 09:02:32 +0000 (10:02 +0100)
Commit 11c3a36649e5e removed pthread.h inclusion in
src/basic/hashmap.c but this header file is neeeded when
ENABLE_DEBUG_HASHMAP is defined.

src/basic/hashmap.c

index b3954e3223bd8963ee24594e028a195ae80983a2..286ddfef5b38024d201460469c90601dfa05d1ce 100644 (file)
@@ -37,6 +37,7 @@
 #include "util.h"
 
 #ifdef ENABLE_DEBUG_HASHMAP
+#include <pthread.h>
 #include "list.h"
 #endif