ports/sysutils/squashfs-tools/files/patch-squashfs-tools_unsquashfs.c
Ashish SHUKLA 75b4459430 - Fix compile time warnings
- Mark as MAKE_JOBS_SAFE
- Refactor Makefile to avoid custom do-build/do-install targets
- Add LICENSE

Submitted by:	mi@ via private email
Approved by:	tabthorpe(mentor)
2010-09-14 16:19:16 +00:00

15 lines
392 B
C

$FreeBSD$
--- unsquashfs.c 2009-04-05 23:23:06.000000000 +0200
+++ unsquashfs.c 2010-04-29 17:48:22.000000000 +0200
@@ -26,6 +26,10 @@
#include "squashfs_compat.h"
#include "read_fs.h"
+#ifdef __FreeBSD__
+#include <sys/sysctl.h>
+#endif
+
struct cache *fragment_cache, *data_cache;
struct queue *to_reader, *to_deflate, *to_writer, *from_writer;
pthread_t *thread, *deflator_thread;