22 lines
621 B
Text
22 lines
621 B
Text
$NetBSD: patch-ae,v 1.1 2005/01/02 21:29:03 mreriksson Exp $
|
|
|
|
--- nfsd/mp_serial.c.orig 2003-04-06 13:54:41.000000000 +0200
|
|
+++ nfsd/mp_serial.c
|
|
@@ -3,7 +3,7 @@
|
|
#include <unistd.h> /* for usleep() */
|
|
#include <string.h> /* for bzero() */
|
|
#include <termios.h>
|
|
-#if defined(linux) || defined(_IBMR2)
|
|
+#if defined(linux) || defined(_IBMR2) || defined(__NetBSD__)
|
|
# include <sys/ioctl.h> /* for ioctl() */
|
|
#endif
|
|
#ifdef __NeXT__
|
|
@@ -15,7 +15,7 @@
|
|
#ifdef sun
|
|
# include <sys/ttold.h> /* sun has TIOCEXCL there */
|
|
#endif
|
|
-#if defined (__SVR4)
|
|
+#if defined (__SVR4) || defined(__NetBSD__)
|
|
#include <stdlib.h>
|
|
#endif
|
|
|