From 1cac86424e1bb88a85f5b032f8cda270ecbfbeb7 Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Fri, 1 Nov 2019 10:44:55 +0000 Subject: [PATCH] Fix build problem with ENABLE_DEBUG_STUB when not using ENABLE_DEBUG_ALL. --- src/util/auxiliary/util/log.h | 2 ++ src/util/locks.c | 1 + src/util/orig-headers/locks.h | 2 ++ 3 files changed, 5 insertions(+) diff --git a/src/util/auxiliary/util/log.h b/src/util/auxiliary/util/log.h index cdd949b2..8def2f38 100644 --- a/src/util/auxiliary/util/log.h +++ b/src/util/auxiliary/util/log.h @@ -34,6 +34,8 @@ #ifndef UTIL_LOG_H #define UTIL_LOG_H +#include + #include "config.h" #include "debug.h" diff --git a/src/util/locks.c b/src/util/locks.c index b65a02bd..e6e848a2 100644 --- a/src/util/locks.c +++ b/src/util/locks.c @@ -42,6 +42,7 @@ #include "config.h" #include "util/locks.h" #include +#include #ifdef HAVE_SYS_WAIT_H #include #endif diff --git a/src/util/orig-headers/locks.h b/src/util/orig-headers/locks.h index 6f971e19..7e61bcc0 100644 --- a/src/util/orig-headers/locks.h +++ b/src/util/orig-headers/locks.h @@ -36,6 +36,8 @@ #ifndef UTIL_LOCKS_H #define UTIL_LOCKS_H +#include + /** * \file * Locking primitives.