Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6feffda5 authored by Yi Kong's avatar Yi Kong
Browse files

Fix bluetooth_hh_test build

packages/modules/Bluetooth/system/test/common/log_msg.cc:39:3: error: use of undeclared identifier 'va_start'
  va_start(ap, fmt_str);
  ^

packages/modules/Bluetooth/system/test/common/log_msg.cc:41:3: error: use of undeclared identifier 'va_end'
  va_end(ap);
  ^

Fixed by adding "#include <cstdarg>".

Test: presubmit
Change-Id: Id85cc0d069fe7a7b2035923d93adb35f61590fb2
parent 9dff422a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

#include "test/common/log_msg.h"

#include <cstdarg>
#include <cstdint>
#include <cstdio>
#include <functional>