diff --git a/panda/src/mpg123/common.c b/panda/src/mpg123/common.c index 90398f463d..dfa382c853 100644 --- a/panda/src/mpg123/common.c +++ b/panda/src/mpg123/common.c @@ -6,7 +6,9 @@ #include #include +#ifndef WIN32 #include +#endif /* WIN32 */ #include diff --git a/panda/src/mpg123/mpgbuffer.c b/panda/src/mpg123/mpgbuffer.c index e528afa5ac..758842e157 100644 --- a/panda/src/mpg123/mpgbuffer.c +++ b/panda/src/mpg123/mpgbuffer.c @@ -10,6 +10,12 @@ #include "mpg123.h" +#ifdef WIN32 +#define SIGUSR1 0 +#define SIGCONT 0 +#define SIGSTOP 0 +#endif /* WIN32 */ + int outburst = MAXOUTBURST; int preload; diff --git a/panda/src/mpg123/xfermem.c b/panda/src/mpg123/xfermem.c index fc8f7e7fcb..4cb6c059f3 100644 --- a/panda/src/mpg123/xfermem.c +++ b/panda/src/mpg123/xfermem.c @@ -26,6 +26,7 @@ #endif #include "mpg123.h" +#define HAVE_INCLUDED_MPG123_H #ifndef USE_MMAP #include @@ -233,7 +234,11 @@ int xfermem_block (int readwrite, txfermem *xf) #include #include +#ifndef HAVE_INCLUDED_MPG123_H +#include "mpg123.h" +#else /* HAVE_INCLUDED_MPG123_H */ #include "xfermem.h" +#endif /* HAVE_INCLUDED_MPG123_H */ extern int errno;