summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/adk-helper/src/makedevs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/adk-helper/src/makedevs.c b/package/adk-helper/src/makedevs.c
index 53ff6fef0..78a4c70ba 100644
--- a/package/adk-helper/src/makedevs.c
+++ b/package/adk-helper/src/makedevs.c
@@ -31,7 +31,7 @@
#include <stdarg.h>
#include <sys/stat.h>
#include <sys/types.h>
-#ifndef __APPLE__
+#if !defined(__APPLE__) && !defined(__FreeBSD__)
#include <sys/sysmacros.h> /* major() and minor() */
#endif
#include <ftw.h>