* Copyright (c) 1991, 1992 Paul Kranenburg <pk@cs.few.eur.nl>
* Copyright (c) 1993 Branko Lankester <branko@hacktic.nl>
* Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com>
+ * Copyright (c) 1996-1999 Wichert Akkerman <wichert@cistron.nl>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
#ifdef LINUX
case 0x89:
#else /* !LINUX */
- case 'r': case 's': case 'i': case 'p':
+ case 'r': case 's': case 'i':
+#ifndef FREEBSD
+ case 'p':
+#endif
#endif /* !LINUX */
return sock_ioctl(tcp, code, arg);
-#ifdef SVR4
+#ifdef USE_PROCFS
#ifndef HAVE_MP_PROCFS
+#ifndef FREEBSD
case 'q':
+#else
+ case 'p':
+#endif
return proc_ioctl(tcp, code, arg);
#endif
-#endif /* SVR4 */
+#endif /* USE_PROCFS */
#ifdef HAVE_SYS_STREAM_H
case 'S':
return stream_ioctl(tcp, code, arg);