Mercurial > audlegacy-plugins
diff src/alac/plugin.c @ 330:74df3bd6f472 trunk
[svn] - portability fixes:
+ use old inttypes.h if stdint.h is not available
+ use NULL instead of 0 when dealing with pointers
author | nenolod |
---|---|
date | Mon, 04 Dec 2006 13:50:33 -0800 |
parents | 9ce03bf021ae |
children | 626f9f4d79a8 |
line wrap: on
line diff
--- a/src/alac/plugin.c Mon Dec 04 13:18:25 2006 -0800 +++ b/src/alac/plugin.c Mon Dec 04 13:50:33 2006 -0800 @@ -25,9 +25,19 @@ * OTHER DEALINGS IN THE SOFTWARE. */ +#include "config.h" + #include <ctype.h> #include <stdio.h> -#include <stdint.h> + +#if HAVE_STDINT_H +# include <stdint.h> +#else +# if HAVE_INTTYPES_H +# include <inttypes.h> +# endif +#endif + #include <stdlib.h> #include <errno.h> #include <string.h>