Fixed bug in hybrid MBR generation; gdisk 0.6.9
diff --git a/gpttext.cc b/gpttext.cc
index 3000308..fe64be0 100644
--- a/gpttext.cc
+++ b/gpttext.cc
@@ -23,6 +23,7 @@
#include <string.h>
#include <errno.h>
#include <stdint.h>
+#include <limits.h>
#include <iostream>
#include <sstream>
#include <cstdio>
@@ -390,6 +391,7 @@
// Linux won't find any partitions on the disk.
newNote = new struct PartInfo;
newNote->gptPartNum = MBR_EFI_GPT;
+ newNote->firstLBA = 1;
newNote->active = 0;
newNote->hexCode = 0xEE;
newNote->type = PRIMARY;