summaryrefslogtreecommitdiff
path: root/src/systime.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/systime.h')
-rw-r--r--src/systime.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/systime.h b/src/systime.h
index 5895b4b5446..98609728baa 100644
--- a/src/systime.h
+++ b/src/systime.h
@@ -45,6 +45,14 @@ extern long timezone;
#endif
#endif
+/* On some configurations (hpux8.0, X11R4), sys/time.h and X11/Xos.h
+ disagree about the name of the guard symbol. */
+#ifdef _STRUCT_TIMEVAL
+#ifndef __TIMEVAL__
+#define __TIMEVAL__
+#endif
+#endif
+
/* EMACS_TIME is the type to use to represent temporal intervals -
struct timeval on some systems, int on others. It can be passed as