#include <resolv.h>
#include "ipf.h"
#include "kmem.h"
-#ifdef __NetBSD__
+#if defined(__NetBSD__) || defined(__OpenBSD__)
#include <paths.h>
#endif
#if !defined(lint) && defined(LIBC_SCCS)
static char sccsid[] = "@(#)fils.c 1.21 4/20/96 (C) 1993-1996 Darren Reed";
-static char rcsid[] = "$Id: fils.c,v 1.8 1997/02/11 22:23:41 kstailey Exp $";
+static char rcsid[] = "$Id: fils.c,v 1.9 1997/02/17 09:13:11 deraadt Exp $";
#endif
#ifdef _PATH_UNIX
#define VMUNIX _PATH_UNIX
* SUCH DAMAGE.
*
* from: @(#)fsi_util.c 8.1 (Berkeley) 6/6/93
- * $Id: fsi_util.c,v 1.2 1997/01/31 14:42:11 graichen Exp $
+ * $Id: fsi_util.c,v 1.3 1997/02/17 09:11:25 deraadt Exp $
*/
#include "../fsinfo/fsinfo.h"
exit(1);
}
-#ifndef __NetBSD__
+#if !(defined(__NetBSD__) || defined(__OpenBSD__))
/*
* Dup a string
*/
return sp;
}
-#endif /* __NetBSD__ */
+l#endif /* !(defined(__NetBSD__) || defined(__OpenBSD)) */
/*
* Debug log
}
#define GETETHER
-#endif /* __NetBSD__ */
+#endif /* __NetBSD__ || __OpenBSD__ */
\f
#ifdef SVR4
extern int err_count;
extern char line[], *lineptr;
-#if defined(sparc) && !defined(__NetBSD__)
+#if defined(sparc) && !(defined(__NetBSD__) || defined(__OpenBSD__))
#include <alloca.h>
#else
#ifdef __GNUC__