- fix includes for syslog-logging in server
This commit is contained in:
parent
c8a5a5f60b
commit
d4f189fb05
|
@ -23,6 +23,10 @@
|
||||||
#include "gkrellmd-private.h"
|
#include "gkrellmd-private.h"
|
||||||
#include "log-private.h"
|
#include "log-private.h"
|
||||||
|
|
||||||
|
#if !defined(WIN32)
|
||||||
|
#include <syslog.h>
|
||||||
|
#endif // !WIN32
|
||||||
|
|
||||||
// win32 defines addrinfo but only supports getaddrinfo call on winxp or newer
|
// win32 defines addrinfo but only supports getaddrinfo call on winxp or newer
|
||||||
#if !defined(HAVE_GETADDRINFO) && !defined(WIN32)
|
#if !defined(HAVE_GETADDRINFO) && !defined(WIN32)
|
||||||
struct addrinfo
|
struct addrinfo
|
||||||
|
|
|
@ -42,9 +42,6 @@ Output should go to:
|
||||||
#include "log-private.h"
|
#include "log-private.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#if !defined(WIN32)
|
|
||||||
#include <syslog.h>
|
|
||||||
#endif // !WIN32
|
|
||||||
|
|
||||||
// Include gkrellm headers to access _GK struct inside gkrellm_debug()
|
// Include gkrellm headers to access _GK struct inside gkrellm_debug()
|
||||||
#if defined(GKRELLM_SERVER)
|
#if defined(GKRELLM_SERVER)
|
||||||
|
|
Loading…
Reference in New Issue