Fixed bug in sgdisk that could cause segfault when passing an invalid
partition number to -i/--info; added patch to fix compiling problems
with some versions of GCC.
diff --git a/diskio-unix.cc b/diskio-unix.cc
index 1bdb77b..388a04d 100644
--- a/diskio-unix.cc
+++ b/diskio-unix.cc
@@ -19,6 +19,7 @@
 #include <string.h>
 #include <string>
 #include <stdint.h>
+#include <unistd.h>
 #include <errno.h>
 #include <fcntl.h>
 #include <sys/stat.h>