Add SDL_main.h includes to tests

.. including cmake/test/*.c, whatever that does

(this is needed now because SDL.h doesn't include SDL_main.h anymore)
This commit is contained in:
Daniel Gibson 2022-12-15 05:58:20 +01:00 committed by Sam Lantinga
parent ca2fe7be1a
commit 22e22ba196
71 changed files with 73 additions and 0 deletions

View file

@ -20,6 +20,7 @@
#endif
#include <SDL3/SDL_test_common.h>
#include <SDL3/SDL_main.h>
#define SWAP(typ, a, b) \
do { \