summaryrefslogtreecommitdiffstats
path: root/bin/sh/nodes.c.pat
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-02-24 08:07:05 +0000
committermarcel <marcel@FreeBSD.org>2003-02-24 08:07:05 +0000
commit373501e7698edb87caaa1fd8a3d346c402e6a263 (patch)
tree3425f7c8a22e2648be9c0b364b854a32e438ec8c /bin/sh/nodes.c.pat
parent46e9534a1104c1180ef23cf7a272df465cdc02ba (diff)
downloadFreeBSD-src-373501e7698edb87caaa1fd8a3d346c402e6a263.zip
FreeBSD-src-373501e7698edb87caaa1fd8a3d346c402e6a263.tar.gz
Third attempt at removing machdep.h and using ALIGN from <sys/param.h>.
The initial stack_block is staticly allocated and will be aligned according to the alignment requirements of pointers, which does not necessarily match the alignment enforced by ALIGN. To solve this a more involved change is required: remove the static initial stack and deal with an initial condition of not having a stack at all. This change is therefore more risky than the previous ones, but unavoidable (other than not using the platform default alignment). Discussed with: tjr Approved and reviewed by: tjr Tested on: alpha, i386, ia64 and sparc64
Diffstat (limited to 'bin/sh/nodes.c.pat')
-rw-r--r--bin/sh/nodes.c.pat2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/nodes.c.pat b/bin/sh/nodes.c.pat
index 2fc79f0..80541b0 100644
--- a/bin/sh/nodes.c.pat
+++ b/bin/sh/nodes.c.pat
@@ -37,6 +37,7 @@
* $FreeBSD$
*/
+#include <sys/param.h>
#include <stdlib.h>
/*
* Routine for dealing with parsed shell commands.
@@ -45,7 +46,6 @@
#include "shell.h"
#include "nodes.h"
#include "memalloc.h"
-#include "machdep.h"
#include "mystring.h"
OpenPOWER on IntegriCloud