[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
xtime.h fix for IRIX-5.3
From: |
Martin Neitzel |
Subject: |
xtime.h fix for IRIX-5.3 |
Date: |
Thu, 14 Jun 2001 05:07:44 +0200 (CEST) |
Here is a trivial fix to make the bleeding edge CVS compile under
IRIX-5.3. Without the fix, the src/server.c compilation fails due to
including lib/xtime.h twice, both times indirectly. Shields up!...
Martin Neitzel
Index: lib/ChangeLog
===================================================================
RCS file: /home2/cvsroot/ccvs/lib/ChangeLog,v
retrieving revision 1.143
diff -u -r1.143 ChangeLog
--- lib/ChangeLog 25 Apr 2001 23:45:10 -0000 1.143
+++ lib/ChangeLog 14 Jun 2001 02:58:33 -0000
@@ -1,3 +1,8 @@
+2001-06-14 Martin Neitzel <neitzel@gaertner.de>
+
+ * xtime.h: Fix for !HAVE_SYS_TIMEB_H platforms: protection
+ against repeated includes (eg.: src/server.c).
+
2001-04-25 Derek Price <dprice@collab.net>
* Makefile.in: Regenerated using AM 1.4e as of today at 18:10 -0400.
Index: lib/xtime.h
===================================================================
RCS file: /home2/cvsroot/ccvs/lib/xtime.h,v
retrieving revision 1.1
diff -u -r1.1 xtime.h
--- lib/xtime.h 15 Feb 2001 02:53:07 -0000 1.1
+++ lib/xtime.h 14 Jun 2001 02:58:33 -0000
@@ -8,6 +8,9 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. */
+#ifndef _XTIME_H
+#define _XTIME_H
+
/* This file simply performs the include magic necessary for using time
* functions
*/
@@ -55,3 +58,5 @@
# endif /* !defined(HAVE_FTIME) && !defined(HAVE_TIMEZONE) */
#endif /* !vms */
+
+#endif /* _XTIME_H */
- xtime.h fix for IRIX-5.3,
Martin Neitzel <=