diff decoders/modplug.c @ 495:d0d381a6f2bb stable-1.0

Look for modplug headers in both include path and include path + "libmodplug". (thanks to Tyler for this one).
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 12 Oct 2005 22:13:34 +0000
parents 53ce18591f5d
children 45ee760a6f5a
line wrap: on
line diff
--- a/decoders/modplug.c	Sat Oct 01 15:35:53 2005 +0000
+++ b/decoders/modplug.c	Wed Oct 12 22:13:34 2005 +0000
@@ -46,8 +46,11 @@
 #define __SDL_SOUND_INTERNAL__
 #include "SDL_sound_internal.h"
 
+#if SOUND_MODPLUG_IN_OWN_PATH
+#include "libmodplug/modplug.h"
+#else
 #include "modplug.h"
-
+#endif
 
 static int MODPLUG_init(void);
 static void MODPLUG_quit(void);