commit | fcad060a1d83aa5e0b4ad38cf342d10f1922878d | [log] [tgz] |
---|---|---|
author | Aurimas Liutikas <aurimas@google.com> | Tue May 10 19:16:10 2016 -0700 |
committer | Aurimas Liutikas <aurimas@google.com> | Tue May 10 19:16:10 2016 -0700 |
tree | 1928693a14857dfd417bdb82115660e25dd6fe59 | |
parent | 74b7490a22bb9ad5f521a62b9c9100e70b94da9b [diff] [blame] |
Fix all warnings and enable -Werror for gptfdisk. Bug: 26936282 Change-Id: Id7e9ec5e769e1abedc1d2e36bff2c5488b1c4b3e
diff --git a/diskio-unix.cc b/diskio-unix.cc index af71cdb..75fad2e 100644 --- a/diskio-unix.cc +++ b/diskio-unix.cc
@@ -13,7 +13,9 @@ // under the terms of the GNU GPL version 2, as detailed in the COPYING file. #define __STDC_LIMIT_MACROS +#ifndef __STDC_CONSTANT_MACROS #define __STDC_CONSTANT_MACROS +#endif #include <sys/ioctl.h> #include <string.h>