File wmtune-1.0.1-combined.dif of Package WindowMaker-applets
--- Makefile
+++ Makefile
@@ -6,7 +6,7 @@
src/wmgeneral/wmgeneral.o \
.c.o:
- cc -c -O2 -Wall -D$(shell echo `uname -s`) $< -o $*.o $(INCDIR) -D$(RADIOCARD)
+ cc -c $(CFLAGS) -D$(shell echo `uname -s`) $< -o $*.o $(INCDIR) -D$(RADIOCARD)
all: wmtune
--- src/wmtune.c
+++ src/wmtune.c
@@ -30,7 +30,7 @@
# endif
#else
# warning Compiling for Linux using ioperm/iopl style IO.
-# include <asm/io.h>
+# include <sys/io.h>
#endif
#include <stdlib.h>