aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/ntp/include/ntp_stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/include/ntp_stdlib.h')
-rw-r--r--contrib/ntp/include/ntp_stdlib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/ntp/include/ntp_stdlib.h b/contrib/ntp/include/ntp_stdlib.h
index 9d1d4c9bdcc0..3dc6fe041857 100644
--- a/contrib/ntp/include/ntp_stdlib.h
+++ b/contrib/ntp/include/ntp_stdlib.h
@@ -134,8 +134,10 @@ extern u_char * cache_key; /* key pointer */
extern u_int cache_keylen; /* key length */
/* clocktypes.c */
+#ifdef NTP_REFCLOCK_H
struct clktype;
extern struct clktype clktypes[];
+#endif
/* getopt.c */
extern char * ntp_optarg; /* global argument pointer */