gpart/gpart-errno.patch

26 lines
691 B
Diff

Only in gpart-0.1h/src: .depend
diff -ru gpart-0.1h.orig/src/disku.c gpart-0.1h/src/disku.c
--- gpart-0.1h.orig/src/disku.c 2004-10-05 11:13:34.000000000 +0200
+++ gpart-0.1h/src/disku.c 2004-10-05 11:17:02.000000000 +0200
@@ -18,6 +18,7 @@
#include <stdio.h>
#include <string.h>
+#include <errno.h>
#include <sys/ioctl.h>
#include "gpart.h"
diff -ru gpart-0.1h.orig/src/l64seek.c gpart-0.1h/src/l64seek.c
--- gpart-0.1h.orig/src/l64seek.c 2004-10-05 11:13:34.000000000 +0200
+++ gpart-0.1h/src/l64seek.c 2004-10-05 11:18:16.000000000 +0200
@@ -15,7 +15,7 @@
*/
#include "l64seek.h"
-
+#include <errno.h>
#define OSTACKLEN 16
static struct
Only in gpart-0.1h/src: l64seek.o