diff -u wizd-24/Makefile wizd-24-fixed/Makefile --- wizd-24/Makefile 2006-11-07 17:52:04.000000000 -0500 +++ wizd-24-fixed/Makefile 2007-01-02 14:03:25.000000000 -0500 @@ -6,18 +6,18 @@ .SUFFIXES: .c .o .obj CC = gcc -CFLAGS = -pipe -O2 -Wall +CFLAGS = -pipe -O2 CFLAGS += -g # debug symbols CFLAGS += -D_FILE_OFFSET_BITS=64 CFLAGS += -D_LARGEFILE_SOURCE ### -- If you dont want to use JPEG resize feature, comment it out. CFLAGS += -DRESIZE_JPEG CFLAGS += -I/usr/local/include -LDFLAGS += -static -L/usr/local/lib -ljpeg -ldvdread +LDFLAGS += -L/usr/local/lib -ljpeg -ldvdread -lm # keep the following lines only if you have the w32api library -LDFLAGS += -L/lib/w32api -lole32 -luuid -CFLAGS += -DHAVE_W32API +#LDFLAGS += -L/lib/w32api -lole32 -luuid +#CFLAGS += -DHAVE_W32API ### -- LDFLAGS += -s # strip symbols diff -u wizd-24/wizd_http.c wizd-24-fixed/wizd_http.c --- wizd-24/wizd_http.c 2006-11-07 17:52:06.000000000 -0500 +++ wizd-24-fixed/wizd_http.c 2007-01-02 14:03:25.000000000 -0500 @@ -23,8 +23,10 @@ #include #include #include -#include +#ifdef HAVE_W32API + #include +#endif #include "wizd.h" #include "wizd_skin.h" diff -u wizd-24/wizd_menu.c wizd-24-fixed/wizd_menu.c --- wizd-24/wizd_menu.c 2006-11-07 17:52:08.000000000 -0500 +++ wizd-24-fixed/wizd_menu.c 2007-01-02 14:03:25.000000000 -0500 @@ -27,7 +27,10 @@ #include #include #include -#include + +#ifdef HAVE_W32API + #include +#endif #include #include --- wizd-24/wizd.conf 2006-11-07 19:41:10.000000000 -0500 +++ wizd-24-fixed/wizd.conf 2007-01-02 14:37:52.000000000 -0500 @@ -175,7 +175,7 @@ ## Skin name is the subdirectory under skin_root for the selected skin. ## When using skins, if these directories do not exist, the server will ## close immediately. -skin_root ./skin +skin_root /usr/share/wizd/skins skin_name simplicity_hires ## Define alternate skin names which are selected based on the User-Agent string