summaryrefslogtreecommitdiffstats
path: root/random.c
diff options
context:
space:
mode:
authormichal <michal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-17 13:52:45 +0000
committermichal <michal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-17 13:52:45 +0000
commit932e6c807f8a8c64dcb38db0a0f4c67c73fb116b (patch)
treeae0fe059957cddc1c37d72ae116378497a3a6a4e /random.c
parent643ef3ad50c717e3abf6f226289d8af8a53d068f (diff)
downloadruby-932e6c807f8a8c64dcb38db0a0f4c67c73fb116b.tar.gz
ruby-932e6c807f8a8c64dcb38db0a0f4c67c73fb116b.tar.xz
ruby-932e6c807f8a8c64dcb38db0a0f4c67c73fb116b.zip
move struct timeval to missing.h
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'random.c')
-rw-r--r--random.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/random.c b/random.c
index 547c13a0e..4f1f5fabe 100644
--- a/random.c
+++ b/random.c
@@ -144,16 +144,6 @@ genrand_real()
#include <unistd.h>
#endif
#include <time.h>
-#ifndef NT
-#ifdef HAVE_SYS_TIME_H
-# include <sys/time.h>
-#else
-struct timeval {
- long tv_sec; /* seconds */
- long tv_usec; /* and microseconds */
-};
-#endif
-#endif /* NT */
static int first = 1;