summaryrefslogtreecommitdiffstats
path: root/bin/sh/memalloc.c
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2003-02-16 03:28:11 +0000
committertjr <tjr@FreeBSD.org>2003-02-16 03:28:11 +0000
commit52f557176d310a5a5cf722bcbc45a12819d4ee2e (patch)
tree22c5c65c0cb978bec33df48d53766d82714696c0 /bin/sh/memalloc.c
parent6ff2b5ed6a4c3224d21dc64f199ff6ba9a7b50e8 (diff)
downloadFreeBSD-src-52f557176d310a5a5cf722bcbc45a12819d4ee2e.zip
FreeBSD-src-52f557176d310a5a5cf722bcbc45a12819d4ee2e.tar.gz
Temporarily back out machdep.h/ALIGN changes. It seems that on sparc64,
using the alignment from sys/param.h (16) instead of the alignment from machdep.h (8) tickled a nasty bug in the memory allocator that I haven't been able to track down yet.
Diffstat (limited to 'bin/sh/memalloc.c')
-rw-r--r--bin/sh/memalloc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/sh/memalloc.c b/bin/sh/memalloc.c
index 57b5ae8..a50d661 100644
--- a/bin/sh/memalloc.c
+++ b/bin/sh/memalloc.c
@@ -42,12 +42,11 @@ static char sccsid[] = "@(#)memalloc.c 8.3 (Berkeley) 5/4/95";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <sys/param.h>
-
#include "shell.h"
#include "output.h"
#include "memalloc.h"
#include "error.h"
+#include "machdep.h"
#include "mystring.h"
#include "expand.h"
#include <stdlib.h>
OpenPOWER on IntegriCloud