]> granicus.if.org Git - apache/commitdiff
get _SC_CLK_TCK defined on Tru64 (and probably some other systems
authorJeff Trawick <trawick@apache.org>
Thu, 8 Feb 2001 13:16:00 +0000 (13:16 +0000)
committerJeff Trawick <trawick@apache.org>
Thu, 8 Feb 2001 13:16:00 +0000 (13:16 +0000)
as well); it works without it on systems which define HZ or don't
have times

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88022 13f79535-47bb-0310-9956-ffa450edef68

modules/generators/mod_status.c

index d171fc451203ab9f9ce06a207f876fbc57ed323e..4738ab5f3447ba74161d55e82a1f1c01bf199a13 100644 (file)
 #include <time.h>
 #include "scoreboard.h"
 #include "http_log.h"
+#if APR_HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 
 #ifdef NEXT
 #if (NX_CURRENT_COMPILER_RELEASE == 410)