- fix includes for syslog-logging in server

This commit is contained in:
Stefan Gehn 2008-09-28 18:38:55 +00:00
parent c8a5a5f60b
commit d4f189fb05
2 changed files with 4 additions and 3 deletions

View File

@ -23,6 +23,10 @@
#include "gkrellmd-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
#if !defined(HAVE_GETADDRINFO) && !defined(WIN32)
struct addrinfo

View File

@ -42,9 +42,6 @@ Output should go to:
#include "log-private.h"
#include <stdio.h>
#if !defined(WIN32)
#include <syslog.h>
#endif // !WIN32
// Include gkrellm headers to access _GK struct inside gkrellm_debug()
#if defined(GKRELLM_SERVER)