build fixes for ubuntu

git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@1345 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
psperl
2011-03-16 04:27:29 +00:00
parent cfa1ff9952
commit 9aaac6d3d8
3 changed files with 6 additions and 0 deletions

View File

@ -81,6 +81,7 @@ elseif (${CMAKE_PROJECT_NAME} MATCHES ${PROJECT_NAME})
endif (${CMAKE_PROJECT_NAME} MATCHES "PROJECTM_ROOT")
INCLUDE_DIRECTORIES(${PROJECTM_INCLUDE} ${QT_INCLUDE_DIR} ${QT_QTGUI_INCLUDE_DIR} ${QT_QTOPENGL_INCLUDE_DIR} ${QT_QTCORE_INCLUDE_DIR} ${LIBPULSE_INCLUDEDIR})
INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}/projectM-pulseaudio)
LINK_DIRECTORIES(${PROJECTM_LINK} ${PULSEAUDIO_LDFLAGS})

View File

@ -67,6 +67,9 @@ std::string read_config();
#include <config.h>
#endif
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>

View File

@ -31,6 +31,8 @@ www.gamedev.net/reference/programming/features/beatdetection/
#include <string.h>
#include <string>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <xmms/util.h>