summaryrefslogtreecommitdiff
path: root/src/s/freebsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s/freebsd.h')
-rw-r--r--src/s/freebsd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/s/freebsd.h b/src/s/freebsd.h
index 687cd6bdf68..42fdf6d3e8e 100644
--- a/src/s/freebsd.h
+++ b/src/s/freebsd.h
@@ -25,7 +25,7 @@
/* For mem-limits.h. */
#define BSD4_2
-/* thses aren't needed, since we have getloadavg() */
+/* These aren't needed, since we have getloadavg. */
#undef KERNEL_FILE
#undef LDAV_SYMBOL
@@ -45,7 +45,7 @@
#undef BSD_PGRPS
#ifndef NO_SHARED_LIBS
-#define LD_SWITCH_SYSTEM -e start
+#define LD_SWITCH_SYSTEM -e start -dc -dp
#define HAVE_TEXT_START /* No need to define `start_of_text'. */
#define START_FILES pre-crt0.o /usr/lib/crt0.o
#define UNEXEC unexsunos4.o
@@ -67,6 +67,7 @@
#define HAVE_WAIT_HEADER
#define HAVE_GETLOADAVG
+#define HAVE_GETPAGESIZE
#define HAVE_TERMIOS
#define NO_TERMIO
#define DECLARE_GETPWUID_WITH_UID_T