$NetBSD: patch-ax,v 1.1 2004/03/15 20:52:07 ben Exp $

--- include/Csound/sysdep.h.orig	Mon Mar 15 12:00:29 2004
+++ include/Csound/sysdep.h
@@ -162,24 +162,44 @@ extern "C" {
 #  include <stdint.h>
 #elif !defined(__int8_t_defined)
     /* these should be fairly portable, */
+#ifndef int8_t
     typedef     signed char     int8_t;
+#endif
+#ifndef uint8_t
     typedef     unsigned char   uint8_t;
+#endif
+#ifndef int16_t
     typedef     short           int16_t;
+#endif
+#ifndef uint16_t
     typedef     unsigned short  uint16_t;
+#endif
+#ifndef int32_t
     typedef     int             int32_t;
+#endif
+#ifndef uint32_t
     typedef     unsigned int    uint32_t;
+#endif
 #  ifdef __GNUC__
         /* unlike the following ones */
+#ifndef int64_t
         typedef     long long           int64_t;
+#endif
+#ifndef uint64_t
         typedef     unsigned long long  uint64_t;
+#endif
 #  elif defined(MSVC) || defined(_MSC_VER)
         typedef     __int64             int64_t;
         typedef     unsigned __int64    uint64_t;
 #  endif
     /* these do not work on Win64, but are OK on 64 bit UNIX */
     /* systems and all 32 bit platforms */
+#ifndef intptr_t
     typedef     long            intptr_t;
+#endif
+#ifndef uintptr_t
     typedef     unsigned long   uintptr_t;
+#endif
 #endif
 
 #ifndef PI
