Skip to content
Snippets Groups Projects
Commit cf3446eb authored by Guy Zana's avatar Guy Zana
Browse files

mbuf.h compiles without _KERNEL

parent f5dd11d1
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,7 @@
#ifndef _SYS_MBUF_H_
#define _SYS_MBUF_H_
#include <stdint.h>
#include "param.h"
/* XXX: These includes suck. Sorry! */
......
......@@ -38,7 +38,9 @@
#ifndef _SYS_PARAM_H_
#define _SYS_PARAM_H_
#if 0
#include <sys/_null.h>
#endif
#define BSD 199506 /* System version (year & month). */
#define BSD4_3 1
......@@ -92,7 +94,9 @@
*
* MAXCOMLEN should be >= sizeof(ac_comm) (see <acct.h>)
*/
#if 0
#include <sys/syslimits.h>
#endif
#define MAXCOMLEN 19 /* max command name remembered */
#define MAXINTERP PATH_MAX /* max interpreter file name length */
......@@ -127,11 +131,13 @@
#include <sys/signal.h>
#endif
#if 0
/* Machine type dependent parameters. */
#include <machine/param.h>
#ifndef _KERNEL
#include <sys/limits.h>
#endif
#endif
#ifndef DEV_BSHIFT
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment