summaryrefslogtreecommitdiff
path: root/net/arpwatch/patches/patch-ad
blob: c55771299ab221a7c71f0468acaa856de5ce7634 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- report.c.original	Thu Jun 25 13:01:29 1998
+++ report.c	Thu Jun 25 13:07:26 1998
@@ -45,6 +45,7 @@
 
 #include <ctype.h>
 #include <errno.h>
+#include <paths.h>
 #include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -68,8 +69,8 @@
 #include "setsignal.h"
 #include "util.h"
 
-#ifndef PATH_SENDMAIL
-#define PATH_SENDMAIL "/usr/lib/sendmail"
+#ifndef _PATH_SENDMAIL
+#define _PATH_SENDMAIL "/usr/lib/sendmail"
 #endif
 
 #define PLURAL(n) ((n) == 1 || (n) == -1 ? "" : "s")
@@ -249,7 +250,7 @@
 	char *fmt = "%20s: %s\n";
 	char *watcher = WATCHER;
 	char *watchee = WATCHEE;
-	char *sendmail = PATH_SENDMAIL;
+	char *sendmail = _PATH_SENDMAIL;
 	char *unknown = "<unknown>";
 	char buf[132];
 	static int init = 0;