PKGBUILDs/extra/gpart/gpart-0.1h-errno.patch
2009-10-09 21:23:22 -05:00

20 lines
384 B
Diff

--- 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>