소스 검색

Include SDL_internal.h before checking HAVE_FRIBIDI_H

This happened to work because of precompiled headers
Anonymous Maarten 2 달 전
부모
커밋
e1fde46a6a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/core/unix/SDL_fribidi.c

+ 1 - 1
src/core/unix/SDL_fribidi.c

@@ -18,10 +18,10 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
+#include "SDL_internal.h"
 
 #ifdef HAVE_FRIBIDI_H
 
-#include "SDL_internal.h"
 #include "SDL_fribidi.h"
 #include <fribidi.h>