[tpmd] fix compile again
Found while editing the ebuild. Oops!
TEST=build
BUG=chromium-os:32448
Change-Id: Ic02795279eef1204123740fa10e62cd98477c88f
Signed-off-by: Elly Fong-Jones <ellyjones@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/33791
diff --git a/src/Makefile b/src/Makefile
index 82bc50a..ae13cc0 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,4 +1,8 @@
-BASE_VER = 125070
+# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+BASE_VER ?= 125070
DBUSXX_XML2CPP ?= dbusxx-xml2cpp
PKG_CONFIG ?= pkg-config
diff --git a/src/tpmd.cc b/src/tpmd.cc
index 1e1ddec..ee087ff 100644
--- a/src/tpmd.cc
+++ b/src/tpmd.cc
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#define __STDC_FORMAT_MACROS
+#include <inttypes.h>
+
#include <base/logging.h>
#include <base/stringprintf.h>