Document why we need sys/param.h.
This commit is contained in:
@@ -70,10 +70,10 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#if defined(HAVE_STRUCT_KINFO_PROC_P_TDEV) || defined (HAVE_STRUCT_KINFO_PROC_KP_EPROC_E_TDEV) || defined(HAVE_STRUCT_KINFO_PROC2_P_TDEV)
|
#if defined(HAVE_STRUCT_KINFO_PROC_P_TDEV) || defined (HAVE_STRUCT_KINFO_PROC_KP_EPROC_E_TDEV) || defined(HAVE_STRUCT_KINFO_PROC2_P_TDEV)
|
||||||
# include <sys/param.h>
|
# include <sys/param.h> /* for makedev/major/minor */
|
||||||
# include <sys/sysctl.h>
|
# include <sys/sysctl.h>
|
||||||
#elif defined(HAVE_STRUCT_KINFO_PROC_KI_TDEV)
|
#elif defined(HAVE_STRUCT_KINFO_PROC_KI_TDEV)
|
||||||
# include <sys/param.h>
|
# include <sys/param.h> /* for makedev/major/minor */
|
||||||
# include <sys/sysctl.h>
|
# include <sys/sysctl.h>
|
||||||
# include <sys/user.h>
|
# include <sys/user.h>
|
||||||
#endif
|
#endif
|
||||||
@@ -83,7 +83,7 @@
|
|||||||
# include <sys/procfs.h>
|
# include <sys/procfs.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_PSTAT_GETPROC
|
#ifdef HAVE_PSTAT_GETPROC
|
||||||
# include <sys/param.h>
|
# include <sys/param.h> /* for makedev/major/minor */
|
||||||
# include <sys/pstat.h>
|
# include <sys/pstat.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user