Skip to contentSkip to conversation

FreeBSD fix for xfsprogs

PATCH New Craig Rodrigues 1 participant 1 message Oct 19, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 FreeBSD fix for xfsprogs

Hi,

The attached patch is needed to compile xfsprogs on FreeBSD.

Signature · 2 lines
Craig Rodrigues
[email protected]

Index: freebsd.c
===================================================================
RCS file: /cvs/xfs-cmds/xfsprogs/libxfs/freebsd.c,v retrieving revision 1.17

freebsd.c +1 -0
diff -u -r1.17 freebsd.c
@@ -21,6 +21,7 @@
 #include <sys/disk.h>
 #include <sys/mount.h>
 #include <sys/ioctl.h>
+#include <sys/sysctl.h>
 
 int platform_has_uuid = 1;
 extern char *progname;