summaryrefslogtreecommitdiff
path: root/src/xine-utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-utils')
-rw-r--r--src/xine-utils/utils.c3
-rw-r--r--src/xine-utils/xine_check.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/xine-utils/utils.c b/src/xine-utils/utils.c
index ad9375093..51ed0beb3 100644
--- a/src/xine-utils/utils.c
+++ b/src/xine-utils/utils.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: utils.c,v 1.32 2004/09/02 19:56:42 valtri Exp $
+ * $Id: utils.c,v 1.33 2004/09/12 19:23:36 mroi Exp $
*
*/
#define _POSIX_PTHREAD_SEMANTICS 1 /* for 5-arg getpwuid_r on solaris */
@@ -32,6 +32,7 @@
#include <errno.h>
#include <pwd.h>
#include <netdb.h>
+#include <unistd.h>
#if HAVE_EXECINFO_H
#include <execinfo.h>
diff --git a/src/xine-utils/xine_check.c b/src/xine-utils/xine_check.c
index 14fb424ac..7c9190d86 100644
--- a/src/xine-utils/xine_check.c
+++ b/src/xine-utils/xine_check.c
@@ -42,6 +42,7 @@
#include <stdarg.h>
#include <errno.h>
#include <fcntl.h>
+#include <unistd.h>
#include "xine_check.h"
#include "xineutils.h"