summaryrefslogtreecommitdiff
path: root/net/openntpd/files/patch-ntpd.h
blob: 717694aa4130374907c62861deab0a79633d2126 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$FreeBSD$
--- ntpd.h.orig	2009-11-23 20:37:40.000000000 +0100
+++ ntpd.h	2009-11-23 20:38:12.000000000 +0100
@@ -29,11 +29,12 @@
 #include <pwd.h>
 #include <stdarg.h>
 
+#include "compat.h"
 #include "ntp.h"
 #include <imsg.h>
 
 #define	NTPD_USER	"_ntp"
-#define	CONFFILE	"/etc/ntpd.conf"
+#define	CONFFILE	"%%PREFIX%%/etc/ntpd.conf"
 #define DRIFTFILE	"/var/db/ntpd.drift"
 
 #define	INTERVAL_QUERY_NORMAL		30	/* sync to peers every n secs */