diff options
Diffstat (limited to 'xine')
-rw-r--r-- | xine/post.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xine/post.c b/xine/post.c index 615f8b37..14c86e4b 100644 --- a/xine/post.c +++ b/xine/post.c @@ -36,6 +36,7 @@ # include <sys/types.h> # include <linux/unistd.h> # include <errno.h> +# include <syslog.h> # define LOG_MODULENAME "[xine-post] " # include "../logdefs.h" @@ -45,13 +46,13 @@ /* from xine_frontend.c: */ extern int LogToSysLog; /* log to syslog instead of console */ + pid_t gettid(void); /*_syscall0(pid_t, gettid);*/ + # if !defined(XINELIBOUTPUT_DEBUG_STDOUT) && \ !defined(XINELIBOUTPUT_DEBUG_STDERR) # undef x_syslog - pid_t gettid(void); /*_syscall0(pid_t, gettid);*/ - static void x_syslog(int level, const char *fmt, ...) { va_list argp; |