summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@users.sourceforge.net>2005-07-30 11:26:09 +0000
committerFrantišek Dvořák <valtri@users.sourceforge.net>2005-07-30 11:26:09 +0000
commit8d23812f7faeb1ab1f397ebf0fdc21593d9b37fd (patch)
tree285d72aed38374dc6baf0b979b0d2920f494da71 /lib
parent8676938b235b503d0159a686d58246e78e61cb77 (diff)
downloadxine-lib-8d23812f7faeb1ab1f397ebf0fdc21593d9b37fd.tar.gz
xine-lib-8d23812f7faeb1ab1f397ebf0fdc21593d9b37fd.tar.bz2
*BUGFIX*
Let handle inttypes by config.h, sun specific includes moved to os_internal.h. CVS patchset: 7701 CVS date: 2005/07/30 11:26:09
Diffstat (limited to 'lib')
-rw-r--r--lib/os_internal.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/os_internal.h b/lib/os_internal.h
index c79448a22..2f6d19779 100644
--- a/lib/os_internal.h
+++ b/lib/os_internal.h
@@ -1,6 +1,18 @@
#include <stddef.h>
#include "os_types.h"
+#if defined (__SVR4) && defined (__sun)
+# include <sys/int_types.h>
+
+/* maybe needed for FreeBSD 4-STABLE */
+/*
+#elif defined (__FreeBSD__)
+# include <stdint.h>
+*/
+
+#endif
+
+
/* replacement of strndup */
#ifndef HAVE_STRNDUP
#define strndup(S, N) _xine_private_strndup((S), (N))