2009-05-01 Brian Cameron <
[email protected]>
* patches/libvisual-01-solaris.diff: Remove unneeded part of patch.
diff -ru libvisual-0.4.0.orig/libvisual/lv_types.h libvisual-0.4.0/libvisual/lv_types.h
--- libvisual-0.4.0.orig/libvisual/lv_types.h Tue Feb 14 04:54:08 2006
+++ libvisual-0.4.0/libvisual/lv_types.h Tue Nov 25 14:15:26 2008
@@ -30,6 +30,11 @@
#include <stdint.h>
#else
#include <sys/types.h>
+
+#if defined(__sun__) || defined(__sun)
+#include <inttypes.h>
+#endif
+
#endif /* !VISUAL_OS_WIN32 */
VISUAL_BEGIN_DECLS
@@ -38,7 +43,7 @@
#define VISUAL_TABLESIZE(table) (sizeof (table) / sizeof (table[0]))
-#if !defined(VISUAL_OS_WIN32)
+#if !defined(VISUAL_OS_WIN32) && !defined(__sun__) && !defined(__sun)
#ifndef uint8_t
#define uint8_t u_int8_t
#endif
@@ -50,7 +55,7 @@
#ifndef uint32_t
#define uint32_t u_int32_t
#endif
-#endif /* !VISUAL_OS_WIN32 */
+#endif /* !VISUAL_OS_WIN32 && !__sun__ && !__sun */
VISUAL_END_DECLS