summaryrefslogtreecommitdiff
path: root/cgpt/cgpt_boot.c
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2012-05-02 23:30:16 -0700
committerGerrit <chrome-bot@google.com>2012-05-03 17:38:57 -0700
commitf47291926afce3235421f73811a04324195f3e13 (patch)
tree200ad9edd254c2190a4f1a7b4eeaa4e62447c132 /cgpt/cgpt_boot.c
parent23429d3d782f7506fb4747356974294cce08ac47 (diff)
downloadvboot-f47291926afce3235421f73811a04324195f3e13.tar.gz
Require -Wall -Werror for everything.
BUG=none TEST=none Change-Id: Ib9781238274285f73d00d8fca4ecda28fc2c6678 Reviewed-on: https://gerrit.chromium.org/gerrit/21748 Commit-Ready: Bill Richardson <wfrichar@chromium.org> Tested-by: Bill Richardson <wfrichar@chromium.org> Reviewed-by: Stefan Reinauer <reinauer@chromium.org>
Diffstat (limited to 'cgpt/cgpt_boot.c')
-rw-r--r--cgpt/cgpt_boot.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cgpt/cgpt_boot.c b/cgpt/cgpt_boot.c
index f8e712d6..d3d207a7 100644
--- a/cgpt/cgpt_boot.c
+++ b/cgpt/cgpt_boot.c
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "cgpt.h"
-
#include <errno.h>
#include <fcntl.h>
#include <string.h>
+#include <unistd.h>
+#include "cgpt.h"
+#include "cgpt_params.h"
#include "cgptlib_internal.h"
#include "endian.h"
-#include "cgpt_params.h"
int cgpt_get_boot_partition_number(CgptBootParams *params) {