From b7044939de957fde3e302a1911f951f10268edd9 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Fri, 11 Apr 2008 09:33:11 +0000 Subject: [PATCH] compile fixes git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1768 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/Makefile | 2 +- source/src/sound.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/source/src/Makefile b/source/src/Makefile index 53f70f54..142c15be 100644 --- a/source/src/Makefile +++ b/source/src/Makefile @@ -3,7 +3,7 @@ INCLUDES=-I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` CXXFLAGS=$(CXXOPTFLAGS) $(INCLUDES) -fsigned-char -Wall -Wno-deprecated PLATFORM_PREFIX=native -CLIENT_LIBS=-L/usr/X11R6/lib -L../enet -lenet `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL -lGLU +CLIENT_LIBS=-L/usr/X11R6/lib -L../enet -lenet `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL -lGLU -lopenal -lalut -lvorbisfile CLIENT_OBJS= \ client.o \ clientgame.o \ diff --git a/source/src/sound.cpp b/source/src/sound.cpp index e25f5cbd..65aaf2ad 100644 --- a/source/src/sound.cpp +++ b/source/src/sound.cpp @@ -7,12 +7,12 @@ bool nosound = true; VARP(musicvol, 0, 128, 255); VARP(soundvol, 0, 255, 255); -#include "al/al.h" -#include "al/alc.h" -#include "al/alut.h" +#include "AL/al.h" +#include "AL/alc.h" +#include "AL/alut.h" #include "vorbis/vorbisfile.h" -void alerr(ALenum error, char *note) +void alerr(ALenum error, const char *note) { conoutf("OpenAL %s (%s) %X", alutGetErrorString(error), note, error); }