tags 456842 + patch
thanks

Hi,

it is not necessary to include  asm/sigcontext.h in
src/EnginePl/machine.c since the structures defined there are also
defined in bits/sigcontext.h which is included in signal.h which is also
included in machine.c. This results in this build failure. The attached
patch fixes machine.c. gprolog now builds fine on i386. Build logs at:

http://servercare.de/debian/logs/gprolog_i386_2008-04-28-1209418823.log


Regards,
  Sebastian

--- gprolog-1.3.0.orig/src/EnginePl/machine.c	2008-04-28 21:27:00.000000000 +0000
+++ gprolog-1.3.0/src/EnginePl/machine.c	2008-04-28 21:15:08.000000000 +0000
@@ -452,7 +452,6 @@
 
 #elif defined(M_ix86_linux) || defined(M_powerpc_linux) || \
       defined(M_alpha_linux)
-#include <asm/sigcontext.h>
 
 #if 0				/* old linux */
 static void

Reply via email to