aboutsummaryrefslogtreecommitdiffstats
path: root/time.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-27 16:15:21 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-27 16:15:21 +0000
commit5ce499ec9b19a6937400609f07b8da73d644e403 (patch)
treeb4eb48beb2191f4e64ed164975003a9f6b462046 /time.c
parentb0c631684d6e09d2d660787ef1bb13006b7438d2 (diff)
downloadruby-5ce499ec9b19a6937400609f07b8da73d644e403.tar.gz
* time.c: define _DEFAULT_SOURCE because glibc 2.20 depracates
_BSD_SOURCE. https://sourceware.org/glibc/wiki/Release/2.20 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r--time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/time.c b/time.c
index 336d7c26a8..9f009b5a15 100644
--- a/time.c
+++ b/time.c
@@ -9,6 +9,7 @@
**********************************************************************/
+#define _DEFAULT_SOURCE
#define _BSD_SOURCE
#include "internal.h"
#include <sys/types.h>