Linux build fixes

This commit is contained in:
Siana Gearz
2012-12-09 04:25:01 +01:00
parent 98ec8b9910
commit 3e5bd4e13b
3 changed files with 7 additions and 12 deletions

View File

@@ -320,10 +320,10 @@ void LLFloaterAvatarList::onClose(bool app_quitting)
}
}
void cmd_profile(const LLAvatarListEntry* entry);
void cmd_toggle_mark(LLAvatarListEntry* entry);
void cmd_ar(const LLAvatarListEntry* entry);
void cmd_teleport(const LLAvatarListEntry* entry);
static void cmd_profile(const LLAvatarListEntry* entry);
static void cmd_toggle_mark(LLAvatarListEntry* entry);
static void cmd_ar(const LLAvatarListEntry* entry);
static void cmd_teleport(const LLAvatarListEntry* entry);
BOOL LLFloaterAvatarList::postBuild()
{
// Set callbacks
@@ -1447,7 +1447,7 @@ void LLFloaterAvatarList::doCommand(avlist_command_t func, bool single/*=false*/
std::string LLFloaterAvatarList::getSelectedNames(const std::string& separator)
{
std::string ret;
doCommand(boost::bind(&cmd_append_names,_1,ref(ret),separator));
doCommand(boost::bind(&cmd_append_names,_1,boost::ref(ret),separator));
return ret;
}

View File

@@ -39,12 +39,7 @@
#include "llviewermedia.h" // FIXME: don't use LLViewerMedia internals
// third-party JSONCPP
#if !defined(LL_STANDALONE) && defined(LINUX64)
// The prebuilt linux64 package is packaged wrongly.
#include <jsoncpp/reader.h> // JSONCPP
#else
#include <json/reader.h> // JSONCPP
#endif
/*
* Workflow: