diff options
author | phintuka <phintuka> | 2006-08-16 23:27:57 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2006-08-16 23:27:57 +0000 |
commit | 6f4de30c1c8c44b68f5bdebf5ee96ab2bb5fbb01 (patch) | |
tree | 22a56146d38a5eae27ed47f7233549d296bccc7f | |
parent | 3bf2d49a5102d787dd10a10382fd1a3f7b2b51ee (diff) | |
download | xineliboutput-6f4de30c1c8c44b68f5bdebf5ee96ab2bb5fbb01.tar.gz xineliboutput-6f4de30c1c8c44b68f5bdebf5ee96ab2bb5fbb01.tar.bz2 |
Added missing header
-rw-r--r-- | xine/post.c | 5 | ||||
-rw-r--r-- | xine_input_vdr.c | 3 |
2 files changed, 5 insertions, 3 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; diff --git a/xine_input_vdr.c b/xine_input_vdr.c index 490591eb..b817d5ed 100644 --- a/xine_input_vdr.c +++ b/xine_input_vdr.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_input_vdr.c,v 1.26 2006-08-16 22:36:30 phintuka Exp $ + * $Id: xine_input_vdr.c,v 1.27 2006-08-16 23:27:57 phintuka Exp $ * */ @@ -33,6 +33,7 @@ #include <dlfcn.h> #include <linux/unistd.h> /* gettid() */ #include <sys/resource.h> /* setpriority() */ +#include <syslog.h> #include <xine/xine_internal.h> #include <xine/xineutils.h> |