Explorar o código

another FreeBSD fix

Waldemar Brodkorb %!s(int64=9) %!d(string=hai) anos
pai
achega
f3b526e8b8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      package/adk-helper/src/makedevs.c

+ 1 - 1
package/adk-helper/src/makedevs.c

@@ -31,7 +31,7 @@
 #include <stdarg.h>
 #include <stdarg.h>
 #include <sys/stat.h>
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <sys/types.h>
-#ifndef __APPLE__
+#if !defined(__APPLE__) && !defined(__FreeBSD__)
 #include <sys/sysmacros.h>     /* major() and minor() */
 #include <sys/sysmacros.h>     /* major() and minor() */
 #endif
 #endif
 #include <ftw.h>
 #include <ftw.h>