mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +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
|
/* 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 <stdio.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
extern int LogLevel;
|
extern int LogLevel;
|
||||||
extern int mrafsStyleLogs;
|
extern int mrafsStyleLogs;
|
||||||
#ifndef AFS_NT40_ENV
|
#ifndef AFS_NT40_ENV
|
||||||
extern int serverLogSyslog;
|
extern int serverLogSyslog;
|
||||||
extern int serverLogSyslogFacility;
|
extern int serverLogSyslogFacility;
|
||||||
extern char *serverLogSyslogTag;
|
extern char *serverLogSyslogTag;
|
||||||
#include <arpa/inet.h> /* for inet_ntoa() */
|
|
||||||
#endif
|
#endif
|
||||||
extern void vFSLog(const char *format, va_list args);
|
extern void vFSLog(const char *format, va_list args);
|
||||||
extern void SetLogThreadNumProgram(int (*func) () );
|
extern void SetLogThreadNumProgram(int (*func) () );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user