ref: f917a14a6ea4855eda20ce3fcf0322b8dab29a6a
parent: 6e2d5f924cb23eb3ad2984ce85bdbae702117d0d
parent: f594cdeee57e23a7b7b29b9b3c51920d32978c30
author: Simon Howard <fraggle@soulsphere.org>
date: Sat Jun 18 07:31:34 EDT 2022
Merge pull request #1474 from arichardson/add-missing-includes Add missing includes for FreeBSD
--- a/src/i_input.c
+++ b/src/i_input.c
@@ -16,6 +16,7 @@
// SDL implementation of system-specific input interface.
//
+#include <string.h>
#include "SDL.h"
#include "SDL_keycode.h"
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -18,6 +18,7 @@
#include <stdlib.h>
+#include <string.h>
#include "SDL.h"
#include "SDL_opengl.h"
--- a/src/setup/sound.c
+++ b/src/setup/sound.c
@@ -15,6 +15,7 @@
// Sound control menu
#include <stdlib.h>
+#include <string.h>
#include "SDL_mixer.h"
--- a/textscreen/txt_fileselect.c
+++ b/textscreen/txt_fileselect.c
@@ -15,6 +15,7 @@
// Routines for selecting files.
//
+#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>