We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4893

Summary: Wrong include path for modplug.h
Product: SDL_mixer Reporter: Paul Cercueil <paul>
Component: miscAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: sezeroz
Version: 1.2.12   
Hardware: Other   
OS: Linux   
Attachments: Patch to fix include of modplug.h

Description Paul Cercueil 2019-12-09 19:08:26 UTC
Created attachment 4093 [details]
Patch to fix include of modplug.h

The modplug.h file is included by doing:
#include "modplug.h"

while it should be:
#include <libmodplug/modplug.h>

The attached patch fixes the compilation when modplug support is enabled.
Comment 1 Ozkan Sezer 2019-12-09 23:17:14 UTC
Thanks for the patch. This was already fixed in the SDL-1.2
branch last year. Closing as fixed.
https://hg.libsdl.org/SDL_mixer/rev/f4c576887ec387ebc10a3c2b98c341b4a5b81693