summaryrefslogtreecommitdiff
path: root/src/Fl_Clock.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1999-01-13 19:43:13 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1999-01-13 19:43:13 +0000
commit046456bb0df646322c3ae33266ee5a68aa632c30 (patch)
treef39b2cb44899ac453674b921250d05010e2647b1 /src/Fl_Clock.cxx
parentb1c23886283c665916ef68253ba44a575126f601 (diff)
Fixed missing include file (<sys/time.h>)
git-svn-id: file:///fltk/svn/fltk/trunk@222 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Clock.cxx')
-rw-r--r--src/Fl_Clock.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Fl_Clock.cxx b/src/Fl_Clock.cxx
index c1f1966b5..a269820d8 100644
--- a/src/Fl_Clock.cxx
+++ b/src/Fl_Clock.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Clock.cxx,v 1.6 1999/01/13 15:58:33 mike Exp $"
+// "$Id: Fl_Clock.cxx,v 1.7 1999/01/13 19:43:13 mike Exp $"
//
// Clock widget for the Fast Light Tool Kit (FLTK).
//
@@ -28,6 +28,9 @@
#include <FL/fl_draw.H>
#include <math.h>
#include <time.h>
+#if !defined(WIN32) && !defined(__EMX__)
+# include <sys/time.h>
+#endif /* !WIN32 && !__EMX__ */
// Original clock display written by Paul Haeberli at SGI.
// Modifications by Mark Overmars for Forms
@@ -167,5 +170,5 @@ Fl_Clock::~Fl_Clock() {
}
//
-// End of "$Id: Fl_Clock.cxx,v 1.6 1999/01/13 15:58:33 mike Exp $".
+// End of "$Id: Fl_Clock.cxx,v 1.7 1999/01/13 19:43:13 mike Exp $".
//