gptfdisk/gptfdisk-gcc47.patch

13 lines
326 B
Diff

Index: gptfdisk-0.8.2/diskio-unix.cc
===================================================================
--- gptfdisk-0.8.2.orig/diskio-unix.cc
+++ gptfdisk-0.8.2/diskio-unix.cc
@@ -22,6 +22,7 @@
#include <errno.h>
#include <fcntl.h>
#include <sys/stat.h>
+#include <unistd.h>
#ifdef __linux__
#include "linux/hdreg.h"