summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--include/ruby/missing.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 18f7b5c39af..ae1730a48d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Mar 17 00:55:31 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
+
+ * include/ruby/missing.h: removed __linux__. it's unnecessary.
+
Fri Mar 15 14:57:16 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* thread.c: disabled _FORTIFY_SOURCE for avoid to hit glibc bug.
diff --git a/include/ruby/missing.h b/include/ruby/missing.h
index cf97ca21334..9b502cd3d80 100644
--- a/include/ruby/missing.h
+++ b/include/ruby/missing.h
@@ -29,7 +29,7 @@ extern "C" {
#if defined(HAVE_TIME_H)
# include <time.h>
#endif
-#if defined(HAVE_SYS_TIME_H) && !defined(__linux__)
+#if defined(HAVE_SYS_TIME_H)
# include <sys/time.h>
#endif
#endif