From fe3387017216a0429297d917b1a59fbea4839ba7 Mon Sep 17 00:00:00 2001
From: Lyle Johnson <lyle@lylejohnson.name>
Date: Mon, 14 Sep 2009 17:12:15 -0500
Subject: [PATCH] Comment out the call to have_header(sys/time.h) as this
 breaks the MinGW build

---
 ext/fox16/extconf.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext/fox16/extconf.rb b/ext/fox16/extconf.rb
index 5194bd2..58e9ae5 100755
--- a/ext/fox16/extconf.rb
+++ b/ext/fox16/extconf.rb
@@ -172,7 +172,7 @@ end
 
 def do_rake_compiler_setup
   $libs = append_library($libs, "stdc++")
-  have_header("sys/time.h")
+# have_header("sys/time.h") # Breaks MinGW build
   have_header("signal.h")
   have_library("png", "png_create_read_struct")
   have_library("z", "deflate")
-- 
GitLab