a21f596
diff -ru gpart-0.1h.orig/src/disku.c gpart-0.1h/src/disku.c
a21f596
--- gpart-0.1h.orig/src/disku.c	2001-02-07 14:04:07.000000000 -0500
a21f596
+++ gpart-0.1h/src/disku.c	2005-06-08 11:13:25.000000000 -0400
a21f596
@@ -16,6 +16,7 @@
a21f596
  */
a21f596
 
a21f596
 
a21f596
+#include <errno.h>
a21f596
 #include <stdio.h>
a21f596
 #include <string.h>
a21f596
 #include <sys/ioctl.h>
a21f596
@@ -27,7 +28,6 @@
a21f596
 #endif
a21f596
 
a21f596
 #if defined(__FreeBSD__)
a21f596
-#include <errno.h>
a21f596
 #include <sys/disklabel.h>
a21f596
 #endif
a21f596