Skip to content

Commit

Permalink
fix Linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
rfomin committed Nov 27, 2024
1 parent d4e8f8d commit f5378d3
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/i_flickstick.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@
//
//----------------------------------------------------------------------------

#include "g_game.h"
#include <string.h>

#include "doomstat.h"
#include "i_flickstick.h"
#include "i_gamepad.h"
#include "i_input.h"
#include "m_config.h"

#define MAX_F 0.999999f
Expand Down
2 changes: 2 additions & 0 deletions src/i_gamepad.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#ifndef __I_GAMEPAD__
#define __I_GAMEPAD__

#include <math.h>

#include "d_event.h"
#include "doomkeys.h"

Expand Down
1 change: 1 addition & 0 deletions src/i_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include <SDL3/SDL.h>

#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>

Expand Down
1 change: 1 addition & 0 deletions src/st_stuff.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
//-----------------------------------------------------------------------------

#include <stdlib.h>
#include <math.h>

#include "am_map.h"
#include "d_event.h"
Expand Down
1 change: 1 addition & 0 deletions textscreen/txt_fileselect.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
// Routines for selecting files.
//

#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Expand Down

0 comments on commit f5378d3

Please sign in to comment.