Simple DirectMedia Layer https://libsdl.org
Find a file
danprice142 6a44baad9b Fix DSU joystick build on Unix platforms
Add missing sys/time.h for struct timeval and sys/select.h for select()
function and fd_set types. These headers are required for socket operations
on Unix-like platforms including Linux, BSD, and other POSIX systems.

This resolves compilation errors:
- 'storage size of tv isn't known' (struct timeval)
- 'implicit declaration of function select'
- 'fd_set' and related macros undeclared

The headers are added to the standard Unix/Linux platform section
after errno.h and before sys/ioctl.h to maintain proper ordering.
2026-02-05 07:29:28 +00:00
.github CI: Make some important libraries mandatory on Steam Linux Runtime 3.0 2025-10-30 07:13:37 -07:00
android-project Updated to version 3.3.3 for development 2025-10-23 22:41:03 -07:00
build-scripts wikiheaders: Don't ignore macro symbols that are defined without any content. 2025-10-25 15:05:36 -04:00
cmake cmake: make sure VARIABLE of check_linker_supports_version_file ends up in cache 2025-10-27 03:01:57 +01:00
docs README-emscripten: Added a note about how the 2D API handles vsync differently. 2025-10-20 12:35:52 -04:00
examples Support resizable windows with most examples 2025-10-07 15:33:10 -04:00
include SDL3 Add DSU joystick driver 2025-10-30 21:31:49 +00:00
src Fix DSU joystick build on Unix platforms 2026-02-05 07:29:28 +00:00
test testautomation: fixed RLE operation test on big endian systems 2025-10-29 16:26:31 +00:00
VisualC Merge DSU joystick driver into SDL_dsujoystick.c 2025-11-15 23:10:37 +00:00
VisualC-GDK Remove legacy CRC32 implementation from DSU joystick 2025-11-21 05:04:54 +00:00
wayland-protocols Add SDL Pinch events (#9445) 2025-10-12 14:44:23 -07:00
Xcode Updated to version 3.3.3 for development 2025-10-23 22:41:03 -07:00
.clang-format
.clang-tidy
.editorconfig
.gitignore Updated .gitignore for png test data 2025-10-10 08:59:27 -07:00
.wikiheaders-options
Android.mk
BUGS.txt
CMakeLists.txt DSU joystick: add multi-server support & refactor 2026-02-03 15:32:44 +00:00
CREDITS.md
INSTALL.md
LICENSE.txt
README.md
WhatsNew.txt Added a patch note for SDL_ELF_NOTE_DLOPEN 2025-10-27 08:28:05 -07:00

Simple DirectMedia Layer (SDL for short) is a cross-platform library designed to make it easy to write multi-media software, such as games and emulators.

You can find the latest release and additional information at: https://www.libsdl.org/

Installation instructions and a quick introduction is available in INSTALL.md

This library is distributed under the terms of the zlib license, available in LICENSE.txt.

Enjoy!

Sam Lantinga (slouken@libsdl.org)