summaryrefslogtreecommitdiff
path: root/glib
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>2000-07-30 08:44:06 +0000
committerTim Janik <timj@src.gnome.org>2000-07-30 08:44:06 +0000
commit33efff673a3b00f5aa7c85bcb40d3e2c5eb33ea1 (patch)
treeee04ada2b40fd5ec1fb4d005c03d010c6e096515 /glib
parent1860151db04ba6232e1f2f06aedf7891d371918f (diff)
downloadglib-33efff673a3b00f5aa7c85bcb40d3e2c5eb33ea1.tar.gz
fix tor's recent changes which got rid of a required variable in the
Sun Jul 30 10:44:16 2000 Tim Janik <timj@gtk.org> * gmain.c (g_get_current_time): fix tor's recent changes which got rid of a required variable in the non-windows path.
Diffstat (limited to 'glib')
-rw-r--r--glib/gmain.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/glib/gmain.c b/glib/gmain.c
index a3404a6e9..0258570f3 100644
--- a/glib/gmain.c
+++ b/glib/gmain.c
@@ -619,6 +619,8 @@ void
g_get_current_time (GTimeVal *result)
{
#ifndef G_OS_WIN32
+ struct timeval r;
+
g_return_if_fail (result != NULL);
/*this is required on alpha, there the timeval structs are int's