| Summary: | Can't compile SDL_qsort.c after the license change | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Ed Sinjiashvili <ed.sinjiashvili> |
| Component: | main | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Sam Lantinga <slouken> |
| Severity: | trivial | ||
| Priority: | P2 | CC: | philipp.wiesemann |
| Version: | HG 1.2 | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: | compile errors | ||
This was maybe fixed here (with a different patch): https://hg.libsdl.org/SDL/rev/b1d2398f2655 |
Created attachment 2397 [details] compile errors It seems that two standard #includes have been removed during the license upgrade (2e3396e62aa6). Adding them back fixes the build. diff -r 2f1eb5fa26ea src/stdlib/SDL_qsort.c --- a/src/stdlib/SDL_qsort.c Fri Mar 11 08:30:18 2016 -0800 +++ b/src/stdlib/SDL_qsort.c Sun Mar 20 23:38:24 2016 +0300 @@ -18,6 +18,9 @@ misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ +#include "SDL_config.h" + +#include "SDL_stdinc.h" #ifndef HAVE_QSORT