---
 sys/amd64/include/param.h |    4 ++++
 sys/i386/include/param.h  |    4 ++++
 2 files changed, 8 insertions(+)

--- a/sys/amd64/include/param.h
+++ b/sys/amd64/include/param.h
@@ -55,6 +55,10 @@
 #define	_ALIGN(p)	(((u_long)(p) + _ALIGNBYTES) &~ _ALIGNBYTES)
 #endif
 
+#ifndef EXEC_PAGESIZE
+#define EXEC_PAGESIZE   4096
+#endif
+
 #ifndef _NO_NAMESPACE_POLLUTION
 
 #define __HAVE_ACPI
--- a/sys/i386/include/param.h
+++ b/sys/i386/include/param.h
@@ -49,6 +49,10 @@
 #define _ALIGN(p)	(((unsigned)(p) + _ALIGNBYTES) & ~_ALIGNBYTES)
 #endif
 
+#ifndef EXEC_PAGESIZE
+#define EXEC_PAGESIZE   4096
+#endif
+
 #ifndef _NO_NAMESPACE_POLLUTION
 
 #define __HAVE_ACPI
