$NetBSD: patch-ab,v 1.1.1.1 2003/10/01 01:15:44 grant Exp $

--- rinetd.c.orig	2003-04-15 11:19:23.000000000 +1000
+++ rinetd.c
@@ -214,7 +214,7 @@ struct _rinetd_options
 };
 
 RinetdOptions options = {
-	"/etc/rinetd.conf"
+	RINETD_CONF
 };
 
 int readArgs (int argc,
@@ -1362,8 +1362,6 @@ void RegisterPID(void)
 	if (pidLogFileName) {
 		pid_file_name = pidLogFileName;
 	}
-/* add other systems with wherever they register processes */
-#if	defined(LINUX)
 	pid_file = fopen(pid_file_name, "w");
 	if (pid_file == NULL) {
 		/* non-fatal, non-Linux may lack /var/run... */
@@ -1374,7 +1372,6 @@ void RegisterPID(void)
 		fprintf(pid_file, "%d\n", getpid());
 		fclose(pid_file);
 	}
-#endif	/* LINUX */
 }
 
 unsigned char nullAddress[4] = { 0, 0, 0, 0 };
