Fix menu.cpp build when max_joysticks=0
menu.cpp always needs SDL.h, but included it only as a side effect of joy.h including SDL.h. joy.h only includes SDL.h when max_joysticks!=0. Reported-by: kreatordxx <https://github.com/dxx-rebirth/dxx-rebirth/issues/258>
This commit is contained in:
parent
560cc2aa65
commit
5f6d60bb7c
|
@ -25,6 +25,7 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
|
|||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <SDL.h>
|
||||
|
||||
#include "menu.h"
|
||||
#include "inferno.h"
|
||||
|
|
Loading…
Reference in a new issue