Header files param.h and ioctl.h have moved as part of the userspace
API restructuring of header files. Nothing in those files is
currently needed by the source, so just drop the includes.
Reviewed-on: http://gerrit.openafs.org/8469
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
(cherry picked from commit
007ec3e25e6920d7036f70550bc44adefab0c170)
Change-Id: I7caa7ee8e5bfc918d7121a2f1d826102ee03976c
Reviewed-on: http://gerrit.openafs.org/8556
Reviewed-by: Ken Dreyer <ktdreyer@ktdreyer.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Paul Smeddle <paul.smeddle@gmail.com>
#include "afs/sysincludes.h"
#include "afsincludes.h"
#if !defined(UKERNEL)
-#include "h/param.h"
+#if !defined(AFS_LINUX26_ENV)
+# include "h/param.h"
+#endif
#include "h/types.h"
#include "h/time.h"
#if defined(AFS_AIX31_ENV)
#define _AFS_OSI_
#include "h/types.h"
+#if !defined(AFS_LINUX26_ENV)
#include "h/param.h"
+#endif
#ifdef AFS_FBSD_ENV
#include <sys/condvar.h>
#ifdef KERNEL
#if !defined(UKERNEL)
#include "h/types.h"
+#if !defined(AFS_LINUX26_ENV)
#include "h/param.h"
+#endif
#ifdef AFS_AUX_ENV
#include "h/mmu.h"
#include "h/seg.h"
#include "h/types.h"
+#if !defined(AFS_LINUX26_ENV)
#include "h/param.h"
+#endif
#ifndef AFS_LINUX22_ENV
#include "h/systm.h"
#endif
#if !defined(AFS_DARWIN_ENV) && !defined(AFS_USR_DARWIN_ENV) && !defined(AFS_XBSD_ENV) && !defined(AFS_USR_FBSD_ENV) && !defined(AFS_USR_DFBSD_ENV) && !defined(AFS_LINUX20_ENV)
#include <sys/sysmacros.h> /* MIN, MAX on Solaris */
#endif
+#if !defined(AFS_LINUX26_ENV)
#include <sys/param.h> /* MIN, MAX elsewhere */
+#endif
#endif /* AFS_NT40_ENV */
#define IPv6_HDR_SIZE 40 /* IPv6 Header */
#ifndef NeXT
#if defined(KERNEL) && !defined(UKERNEL)
+#if !defined(AFS_LINUX26_ENV)
#include <sys/param.h>
+#endif
#ifndef AFS_LINUX20_ENV
#include <sys/systm.h>
#endif
*/
#if defined(KERNEL) && !defined(UKERNEL)
-
+#if !defined(AFS_LINUX26_ENV)
#include <sys/param.h>
+#endif
#ifdef AFS_LINUX20_ENV
#include "h/string.h"
#if 0
*/
#if defined(KERNEL) && !defined(UKERNEL)
-
+#if !defined(AFS_LINUX26_ENV)
#include <sys/param.h>
+#endif
#ifdef AFS_LINUX20_ENV
#include "h/string.h"
#if 0
#ifndef NeXT
#if defined(KERNEL) && !defined(UKERNEL)
-#include <sys/param.h>
+# if !defined(AFS_LINUX26_ENV)
+# include <sys/param.h>
+# endif
#else
-#include <stdio.h>
+# include <stdio.h>
#endif
#include "xdr.h"
#include <sys/types.h>
#if !defined(AFS_NT40_ENV)
-# if !defined(AFS_FBSD80_ENV) || !defined(KERNEL) || defined(UKERNEL)
-#include <sys/ioctl.h>
-#endif /* AFS_FBSD80_ENV */
+# if (!defined(AFS_FBSD80_ENV) && !defined(AFS_LINUX26_ENV)) || !defined(KERNEL) || defined(UKERNEL)
+# include <sys/ioctl.h>
+# endif
#endif /* AFS_NT40_ENV */
#if (defined(__sun) && defined(__SVR4)) || defined(AFS_DFBSD_ENV) || defined(AFS_USR_DFBSD_ENV)
# include <sys/ioccom.h>