summaryrefslogtreecommitdiff
path: root/include/scoreboard.h
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2015-10-03 14:55:43 +0000
committerJeff Trawick <trawick@apache.org>2015-10-03 14:55:43 +0000
commit69deb8019035f9b8ba6d9860fc9f682a400a4648 (patch)
treeee132ce044f945a16ea20ac455e33d85b8a7bb82 /include/scoreboard.h
parentcfabdeb78edc1c9d9dbfbc3fd511563285b1a11c (diff)
downloadhttpd-69deb8019035f9b8ba6d9860fc9f682a400a4648.tar.gz
Follow-up to r1702948:
APR_HAVE_foo is checked via #if, not #ifdef (since it should always be defined, to either 0 or 1) This fixes a compile error on Windows introduced by r1702948 as well as straightens up two long-time glitches. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1706595 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/scoreboard.h')
-rw-r--r--include/scoreboard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scoreboard.h b/include/scoreboard.h
index f5cf939de7..5200c30a5d 100644
--- a/include/scoreboard.h
+++ b/include/scoreboard.h
@@ -26,7 +26,7 @@
extern "C" {
#endif
-#ifdef APR_HAVE_SYS_TIME_H
+#if APR_HAVE_SYS_TIME_H
#include <sys/time.h>
#include <sys/times.h>
#endif