From a9102a89f046e578df9e0e165e34c951a10b2c22 Mon Sep 17 00:00:00 2001 From: Jim Rees Date: Wed, 15 Mar 2006 19:32:49 +0000 Subject: [PATCH] fix-includes-20060315 Now that we include arpa/inet.h, also include its prerequisites, and fix the ordering. --- src/util/afsutil.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/util/afsutil.h b/src/util/afsutil.h index d70c6a2d15..e697403eac 100644 --- a/src/util/afsutil.h +++ b/src/util/afsutil.h @@ -22,15 +22,22 @@ /* logging defines */ +#ifndef AFS_NT40_ENV +#include +#include +#include +#include /* for inet_ntoa() */ +#endif + #include #include + extern int LogLevel; extern int mrafsStyleLogs; #ifndef AFS_NT40_ENV extern int serverLogSyslog; extern int serverLogSyslogFacility; extern char *serverLogSyslogTag; -#include /* for inet_ntoa() */ #endif extern void vFSLog(const char *format, va_list args); extern void SetLogThreadNumProgram(int (*func) () );