diff options
author | Dan Albert <danalbert@google.com> | 2015-08-12 15:52:37 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2015-10-19 16:49:02 -0700 |
commit | a4fa3fce0801e1c55ea230e43de93fd0f7f16162 (patch) | |
tree | c68223661d11232568450dcc4996ad6232f3731e | |
parent | f82c7d8f9734e9f3d7e2eedec300106c5e3618c2 (diff) | |
download | gptfdisk-a4fa3fce0801e1c55ea230e43de93fd0f7f16162.tar.gz |
Add missing include.
libc++ used to leak unistd.h from every headers. This is fixed in the
latest version.
The code that needs this is not upstream code
(https://googleplex-android-review.git.corp.google.com/#/c/645357/),
so no need to send upstream.
Change-Id: I51111c08b4d2620a5d264e20646e6606a3f39c7e
(cherry picked from commit 8fc83651c5d7c5bc7413be76f82df0b23c681313)
-rw-r--r-- | sgdisk.cc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -18,6 +18,7 @@ #include <errno.h> #include "gptcl.h" #include <fcntl.h> +#include <unistd.h> using namespace std; |