--- ./Makefile.include.in.orig 2009-07-01 12:16:49.000000000 +0200
|
|
+++ ./Makefile.include.in 2009-07-01 12:16:54.000000000 +0200
|
|
@@ -32,7 +32,7 @@
|
|
lispdir = @lispdir@
|
|
|
|
# programs
|
|
-CC = @CC@
|
|
+CC = @CC@ -lm
|
|
RANLIB = @RANLIB@
|
|
YACC = @YACC@
|
|
INSTALL = @INSTALL@
|
|
--- ./src/gpm.c.orig 2009-07-01 11:57:03.000000000 +0200
|
|
+++ ./src/gpm.c 2009-07-01 11:57:09.000000000 +0200
|
|
@@ -21,6 +21,8 @@
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
|
|
********/
|
|
|
|
+#define _GNU_SOURCE
|
|
+
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h> /* strerror(); ?!? */
|