[blob] Fix build when HAVE_MMAP is not defined
diff --git a/src/hb-blob.cc b/src/hb-blob.cc index f78539c..3ca31c5 100644 --- a/src/hb-blob.cc +++ b/src/hb-blob.cc
@@ -35,10 +35,6 @@ #include <sys/mman.h> #endif /* HAVE_SYS_MMAN_H */ -#if !defined(HB_NO_RESOURCE_FORK) && defined(__APPLE__) -#include <sys/paths.h> -#endif - #include <stdio.h> #include <stdlib.h> @@ -480,6 +476,9 @@ #ifndef HB_NO_OPEN #ifdef HAVE_MMAP +# if !defined(HB_NO_RESOURCE_FORK) && defined(__APPLE__) +# include <sys/paths.h> +# endif # include <sys/types.h> # include <sys/stat.h> # include <fcntl.h>