summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xine/post.c5
-rw-r--r--xine_input_vdr.c3
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>