Commit f0950eb6 authored by Armin Rigo's avatar Armin Rigo

Compilation problem caused by conflicting typedefs for uint32_t

(unsigned long vs. unsigned int).
parent d8dff93a
...@@ -28,7 +28,9 @@ ...@@ -28,7 +28,9 @@
#if defined(linux) #if defined(linux)
#include <linux/soundcard.h> #include <linux/soundcard.h>
#ifndef HAVE_STDINT_H
typedef unsigned long uint32_t; typedef unsigned long uint32_t;
#endif
#elif defined(__FreeBSD__) #elif defined(__FreeBSD__)
#include <machine/soundcard.h> #include <machine/soundcard.h>
......
...@@ -34,7 +34,9 @@ ...@@ -34,7 +34,9 @@
#if defined(linux) #if defined(linux)
#ifndef HAVE_STDINT_H
typedef unsigned long uint32_t; typedef unsigned long uint32_t;
#endif
#elif defined(__FreeBSD__) #elif defined(__FreeBSD__)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment