summaryrefslogtreecommitdiffstats
path: root/bin/sh/nodes.c.pat
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2003-02-17 03:51:44 +0000
committertjr <tjr@FreeBSD.org>2003-02-17 03:51:44 +0000
commiteadbecd88b3b77b4c6e00192f699b8048748ae57 (patch)
treec43283d90f3a5562b9783023cb26bec033acad15 /bin/sh/nodes.c.pat
parentaa384c931fc62f42246713400c2b6e5b5d446165 (diff)
downloadFreeBSD-src-eadbecd88b3b77b4c6e00192f699b8048748ae57.zip
FreeBSD-src-eadbecd88b3b77b4c6e00192f699b8048748ae57.tar.gz
Second attempt at removing machdep.h and using ALIGN from <sys/param.h>.
The problem with the previous attempt, as noticed by Marcel, was that stacknxt was being aligned to a pointer boundary instead of an ALIGNBYTES + 1 boundary, which broke sparc64.
Diffstat (limited to 'bin/sh/nodes.c.pat')
-rw-r--r--bin/sh/nodes.c.pat3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/sh/nodes.c.pat b/bin/sh/nodes.c.pat
index 2fc79f0..e5a2287 100644
--- a/bin/sh/nodes.c.pat
+++ b/bin/sh/nodes.c.pat
@@ -37,6 +37,8 @@
* $FreeBSD$
*/
+#include <sys/param.h>
+
#include <stdlib.h>
/*
* Routine for dealing with parsed shell commands.
@@ -45,7 +47,6 @@
#include "shell.h"
#include "nodes.h"
#include "memalloc.h"
-#include "machdep.h"
#include "mystring.h"
OpenPOWER on IntegriCloud