Fix compilation errors on FreeBSD

This commit is contained in:
jonahquark81 2018-03-31 17:00:53 +01:00 committed by badaix
parent 5cf697abfc
commit 962ff983cb
2 changed files with 2 additions and 2 deletions

View file

@ -19,12 +19,12 @@
#ifndef STRING_UTILS_H
#define STRING_UTILS_H
#include <stdio.h>
#include <algorithm>
#include <string>
#include <sstream>
#include <vector>
namespace utils
{
namespace string

View file

@ -45,7 +45,7 @@ AirplayStream::AirplayStream(PcmListener* pcmListener, const StreamUri& uri) : P
{
logStderr_ = true;
pipePath_ = "/tmp/shairmeta." + to_string(getpid());
pipePath_ = "/tmp/shairmeta." + cpt::to_string(getpid());
//cout << "Pipe [" << pipePath_ << "]\n";
// XXX: Check if pipe exists, delete or throw error