Index: Makefile
--- Makefile.orig	2006-01-15 12:10:01 +0100
+++ Makefile	2007-09-09 10:11:50 +0200
@@ -1,8 +1,7 @@
 all: ssss-split ssss-combine ssss.1 ssss.1.html
 
 ssss-split: ssss.c
-	$(CC) -W -Wall -O2 -lgmp -o ssss-split ssss.c
-	strip ssss-split
+	$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o ssss-split ssss.c -lgmp $(LIBS)
 
 ssss-combine: ssss-split
 	ln -f ssss-split ssss-combine
Index: ssss.c
--- ssss.c.orig	2006-01-15 12:10:01 +0100
+++ ssss.c	2007-09-09 10:12:05 +0200
@@ -348,7 +348,7 @@
 #define MPZ_SWAP(A, B) \
   do { mpz_set(h, A); mpz_set(A, B); mpz_set(B, h); } while(0)
 
-int restore_secret(int n, mpz_t (*A)[n], mpz_t b[]) 
+int restore_secret(int n, void *A, mpz_t b[])
 {
   mpz_t (*AA)[n] = (mpz_t (*)[n])A;
   int i, j, k, found;
