From 518967a1d8ab957c76c44598441a9a8db3ecdca6 Mon Sep 17 00:00:00 2001 From: Bogdan Marinescu Date: Thu, 8 May 2014 10:58:57 +0100 Subject: [PATCH] Fixed a couple of compilation errors in CellularModem --- libraries/net/cellular/CellularModem/ip/PPPIPInterface.cpp | 1 + libraries/net/cellular/CellularModem/sms/CDMASMSInterface.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/libraries/net/cellular/CellularModem/ip/PPPIPInterface.cpp b/libraries/net/cellular/CellularModem/ip/PPPIPInterface.cpp index 1766868ff5..98614050ef 100644 --- a/libraries/net/cellular/CellularModem/ip/PPPIPInterface.cpp +++ b/libraries/net/cellular/CellularModem/ip/PPPIPInterface.cpp @@ -27,6 +27,7 @@ #include using std::sscanf; +using std::sprintf; #include "PPPIPInterface.h" diff --git a/libraries/net/cellular/CellularModem/sms/CDMASMSInterface.cpp b/libraries/net/cellular/CellularModem/sms/CDMASMSInterface.cpp index c1a87550b0..978b3e1e8b 100644 --- a/libraries/net/cellular/CellularModem/sms/CDMASMSInterface.cpp +++ b/libraries/net/cellular/CellularModem/sms/CDMASMSInterface.cpp @@ -29,6 +29,8 @@ #include #include +using std::sscanf; + #define DEFAULT_TIMEOUT 10000 CDMASMSInterface::CDMASMSInterface(ATCommandsInterface* pIf) : m_pIf(pIf), m_msg(NULL), m_maxMsgLength(0), m_msisdn(NULL)