Fixed some warnings when building on Linux with -DSDL_LIBC=OFF

This commit is contained in:
Sam Lantinga
2022-11-26 05:18:26 -08:00
parent e9014ee769
commit bde808cd87
4 changed files with 20 additions and 12 deletions

View File

@@ -25,14 +25,14 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* System dependent filesystem routines */
#include <errno.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <limits.h>
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#if defined(__FREEBSD__) || defined(__OPENBSD__)
#include <sys/sysctl.h>