37 lines
1.5 KiB
C
37 lines
1.5 KiB
C
diff -up lwp-2.6/src/lwp.c.system-valgrind lwp-2.6/src/lwp.c
|
|
--- lwp-2.6/src/lwp.c.system-valgrind 2014-12-02 15:39:10.946093997 -0500
|
|
+++ lwp-2.6/src/lwp.c 2014-12-02 15:48:07.430940643 -0500
|
|
@@ -64,7 +64,7 @@ Pittsburgh, PA.
|
|
#include "lwp_ucontext.h"
|
|
#include "lwp_stacktrace.h"
|
|
|
|
-#include "valgrind.h"
|
|
+#include <valgrind/valgrind.h>
|
|
|
|
#define ON 1
|
|
#define OFF 0
|
|
diff -up lwp-2.6/src/Makefile.am.system-valgrind lwp-2.6/src/Makefile.am
|
|
--- lwp-2.6/src/Makefile.am.system-valgrind 2014-12-02 15:48:14.630898704 -0500
|
|
+++ lwp-2.6/src/Makefile.am 2014-12-02 15:48:23.934844509 -0500
|
|
@@ -8,7 +8,7 @@ LDADD = liblwp.la
|
|
|
|
liblwp_la_SOURCES = fasttime.c iomgr.c lock.c lwp.c timer.c process.S \
|
|
lwp_ucontext.c lwp_ucontext.h lwp_stacktrace.c \
|
|
- lwp_stacktrace.h lwp.private.h valgrind.h
|
|
+ lwp_stacktrace.h lwp.private.h
|
|
liblwp_la_CPPFLAGS = $(AM_CPPFLAGS) -DLWPDEBUG
|
|
liblwp_la_LDFLAGS = $(LIBTOOL_LDFLAGS)
|
|
|
|
diff -up lwp-2.6/src/Makefile.in.system-valgrind lwp-2.6/src/Makefile.in
|
|
--- lwp-2.6/src/Makefile.in.system-valgrind 2014-12-02 15:48:29.290813311 -0500
|
|
+++ lwp-2.6/src/Makefile.in 2014-12-02 15:48:38.838757695 -0500
|
|
@@ -262,7 +262,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include
|
|
LDADD = liblwp.la
|
|
liblwp_la_SOURCES = fasttime.c iomgr.c lock.c lwp.c timer.c process.S \
|
|
lwp_ucontext.c lwp_ucontext.h lwp_stacktrace.c \
|
|
- lwp_stacktrace.h lwp.private.h valgrind.h
|
|
+ lwp_stacktrace.h lwp.private.h
|
|
|
|
liblwp_la_CPPFLAGS = $(AM_CPPFLAGS) -DLWPDEBUG
|
|
liblwp_la_LDFLAGS = $(LIBTOOL_LDFLAGS)
|