summaryrefslogtreecommitdiff
path: root/lib/os_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/os_internal.h')
-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))