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 - Wrong include path for modplug.h
Summary: Wrong include path for modplug.h
Status: RESOLVED FIXED
Alias: None
Product: SDL_mixer
Classification: Unclassified
Component: misc (show other bugs)
Version: 1.2.12
Hardware: Other Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-09 19:08 UTC by Paul Cercueil
Modified: 2019-12-09 23:17 UTC (History)
1 user (show)

See Also:


Attachments
Patch to fix include of modplug.h (781 bytes, patch)
2019-12-09 19:08 UTC, Paul Cercueil
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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