summaryrefslogtreecommitdiff
path: root/source3/lib/pthreadpool/pthreadpool.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/pthreadpool/pthreadpool.c')
-rw-r--r--source3/lib/pthreadpool/pthreadpool.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/pthreadpool/pthreadpool.c b/source3/lib/pthreadpool/pthreadpool.c
index 9981ed25ae..42b550d7ed 100644
--- a/source3/lib/pthreadpool/pthreadpool.c
+++ b/source3/lib/pthreadpool/pthreadpool.c
@@ -17,6 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "config.h"
#include <errno.h>
#include <stdio.h>
#include <unistd.h>
@@ -26,7 +27,7 @@
#include <signal.h>
#include <assert.h>
#include <fcntl.h>
-#include <sys/time.h>
+#include "system/time.h"
#include "pthreadpool.h"
#include "lib/util/dlinklist.h"