9c9f9288bc
- Add gptfdisk-gcc47.patch: Fix build with gcc 4.7. OBS-URL: https://build.opensuse.org/request/show/109809 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gptfdisk?expand=0&rev=2
13 lines
326 B
Diff
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"
|