From 8b4df8ece93ddc4e2fb685905461c1ed27b22295 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 21 Nov 2012 23:16:00 +0000 Subject: tryopen: include errno.h header just in case errno.h is not guaranteed to be included in existing headers, so we need to #include it to ensure errno and friends are usable. Thanks to stuart on the kgio mailing list for noticing ref: <062571308.133355.1353536890665.JavaMail.sas1@172.29.251.236> --- ext/kgio/tryopen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/kgio/tryopen.c b/ext/kgio/tryopen.c index f8044a5..0ee6a54 100644 --- a/ext/kgio/tryopen.c +++ b/ext/kgio/tryopen.c @@ -14,6 +14,7 @@ #include #include #include +#include #include "set_file_path.h" #include "ancient_ruby.h" -- cgit v1.2.3-24-ge0c7