Skip to content

Commit fb59b4d

Browse files
committed
Modifed the inclusion order of SDL.h
1 parent de4385f commit fb59b4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/pyxel-platform/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ impl SDL2BindingsBuilder {
179179
.skip_while(|&flag| !flag.starts_with("-isystem"))
180180
.nth(1)
181181
.unwrap();
182-
include_flags.push("-I".to_string() + sdl2_include_flag);
183182
include_flags.push("-I".to_string() + sdl2_include_flag + "/..");
183+
include_flags.push("-I".to_string() + sdl2_include_flag);
184184
} else {
185185
include_flags.push("-I/usr/local/include".to_string());
186186
include_flags.push("-I/usr/include".to_string());

0 commit comments

Comments
 (0)