office-gobmx/liblangtag/liblangtag-0.4.0-ppc.patch
Caolán McNamara 76a28511a0 fix build on ppc
Change-Id: I4b09aa9eeb2c34d19043148144383ad4e37a8d10
2012-11-21 14:11:05 +00:00

10 lines
302 B
Diff

--- misc/liblangtag-0.4.0/liblangtag/lt-macros.h
+++ misc/build/liblangtag-0.4.0/liblangtag/lt-macros.h
@@ -203,6 +203,7 @@
LT_STMT_START {__asm__ __volatile__ ("bpt");} LT_STMT_END
#else
+# include <signal.h>
# define LT_BREAKPOINT() \
LT_STMT_START {raise(SIGTRAP);} LT_STMT_END
#endif