summaryrefslogtreecommitdiff
path: root/src/xine-engine/osd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-engine/osd.c')
-rw-r--r--src/xine-engine/osd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xine-engine/osd.c b/src/xine-engine/osd.c
index 745069570..e76f22167 100644
--- a/src/xine-engine/osd.c
+++ b/src/xine-engine/osd.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2000-2004 the xine project
+ * Copyright (C) 2000-2005 the xine project
*
* This file is part of xine, a free video player.
*
@@ -31,7 +31,9 @@
#include <stdio.h>
#include <zlib.h>
#include <sys/types.h>
+#ifdef HAVE_DIRENT_H
#include <dirent.h>
+#endif
#include <errno.h>
#ifdef HAVE_ICONV