summaryrefslogtreecommitdiff
path: root/extra/gpart/gpart-0.1h-errno.patch
blob: 13041c20245d35908d5e556bcd60a88b3efb1cbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- gpart-0.1h/src/l64seek.c
+++ gpart-0.1h-working/src/l64seek.c
@@ -16,6 +16,7 @@
 
 #include "l64seek.h"
 
+#include <errno.h>
 
 #define OSTACKLEN	16
 static struct
--- gpart-0.1h/src/disku.c
+++ gpart-0.1h-working/src/disku.c
@@ -20,6 +20,7 @@
 #include <string.h>
 #include <sys/ioctl.h>
 #include "gpart.h"
+#include <errno.h>
 
 #if defined(__linux__)
 #include <sys/mount.h>