summaryrefslogtreecommitdiff
path: root/src/update.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/update.c')
-rw-r--r--src/update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/update.c b/src/update.c
index 0e5be48..24d81f0 100644
--- a/src/update.c
+++ b/src/update.c
@@ -21,7 +21,8 @@
#include <stdio.h>
#include <stdlib.h>
-#ifndef MACOSX
+#if !defined(MACOSX) && !defined(BSD)
+#include <sys/param.h>
#include <malloc.h>
#endif
#include <string.h>
@@ -35,7 +36,6 @@
#ifdef MACOSX
#include <mach-o/dyld.h>
#include <errno.h>
-#include <sys/param.h>
#endif
#include <update.h>