summaryrefslogtreecommitdiff
path: root/sysutils/gdmap/patches/patch-aa
blob: 236ff1cf717468e5572d05937ffac10a1f224c15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-aa,v 1.1 2015/12/12 15:31:26 kamil Exp $

Include sys/statvfs.h instead of sys/vfs.h on NetBSD.

--- src/gui_main.c.orig	2005-12-27 09:29:51.000000000 -0500
+++ src/gui_main.c
@@ -11,7 +11,11 @@
 #  include <config.h>
 #endif
 
+#if defined(__NetBSD__)
+#include <sys/statvfs.h>
+#else
 #include <sys/vfs.h>
+#endif
 #include <stdlib.h>
 #include <math.h>
 #include <string.h>