summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2015-10-03 16:55:43 +0200
committerJeff Trawick <trawick@apache.org>2015-10-03 16:55:43 +0200
commit69deb8019035f9b8ba6d9860fc9f682a400a4648 (patch)
treeee132ce044f945a16ea20ac455e33d85b8a7bb82 /include
parentTurn 5.1/5.2 order upside down, simplify. This should also (AFAIK) work with ... (diff)
downloadapache2-69deb8019035f9b8ba6d9860fc9f682a400a4648.tar.xz
apache2-69deb8019035f9b8ba6d9860fc9f682a400a4648.zip
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')
-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