summaryrefslogtreecommitdiff
path: root/bin/pdksh/ksh_times.h
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pdksh/ksh_times.h')
-rw-r--r--bin/pdksh/ksh_times.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/bin/pdksh/ksh_times.h b/bin/pdksh/ksh_times.h
index 45f1b793821..ec7b97eedf5 100644
--- a/bin/pdksh/ksh_times.h
+++ b/bin/pdksh/ksh_times.h
@@ -1,4 +1,10 @@
-/* $OpenBSD: ksh_times.h,v 1.1 1996/08/14 06:19:11 downsj Exp $ */
+/* $OpenBSD: ksh_times.h,v 1.2 1996/10/01 02:05:41 downsj Exp $ */
+
+#ifndef KSH_TIMES_H
+# define KSH_TIMES_H
+
+/* Needed for clock_t on some systems (ie, NeXT in non-posix mode) */
+#include "ksh_time.h"
#include <sys/times.h>
@@ -11,3 +17,4 @@ extern clock_t ksh_times ARGS((struct tms *));
#ifdef HAVE_TIMES
extern clock_t times ARGS((struct tms *));
#endif /* HAVE_TIMES */
+#endif /* KSH_TIMES_H */