Skip to content

Commit e5ff4b2

Browse files
committed
native_midi_alsa: move libc extension macros before header includes
1 parent 2f390dd commit e5ff4b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/SDL_native_midi_alsa.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@
1919
3. This notice may not be removed or altered from any source distribution.
2020
*/
2121

22-
#include "SDL_native_midi_common.h"
23-
24-
#ifdef SDL_PLATFORM_LINUX
25-
2622
#ifndef _POSIX_C_SOURCE
2723
#define _POSIX_C_SOURCE 200809L
2824
#endif
@@ -31,6 +27,10 @@
3127
#define _GNU_SOURCE 1
3228
#endif
3329

30+
#include "SDL_native_midi_common.h"
31+
32+
#ifdef SDL_PLATFORM_LINUX
33+
3434
#include <alsa/asoundlib.h>
3535

3636
#include <errno.h>

0 commit comments

Comments
 (0)