mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
fix-includes-20060315
Now that we include arpa/inet.h, also include its prerequisites, and fix the ordering.
This commit is contained in:
parent
c6203bc67e
commit
a9102a89f0
@ -22,15 +22,22 @@
|
||||
|
||||
/* logging defines
|
||||
*/
|
||||
#ifndef AFS_NT40_ENV
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h> /* for inet_ntoa() */
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
extern int LogLevel;
|
||||
extern int mrafsStyleLogs;
|
||||
#ifndef AFS_NT40_ENV
|
||||
extern int serverLogSyslog;
|
||||
extern int serverLogSyslogFacility;
|
||||
extern char *serverLogSyslogTag;
|
||||
#include <arpa/inet.h> /* for inet_ntoa() */
|
||||
#endif
|
||||
extern void vFSLog(const char *format, va_list args);
|
||||
extern void SetLogThreadNumProgram(int (*func) () );
|
||||
|
Loading…
Reference in New Issue
Block a user