From: compudj Date: Fri, 30 May 2003 19:45:08 +0000 (+0000) Subject: fix include path of glib for redhat X-Git-Tag: v0.12.20~3426 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=83e90c10bd75930fa56c2cf1d4e57087948f7eeb;p=lttv.git fix include path of glib for redhat git-svn-id: http://ltt.polymtl.ca/svn@63 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/configure.in b/ltt/branches/poly/configure.in index d93609df..b3f97167 100644 --- a/ltt/branches/poly/configure.in +++ b/ltt/branches/poly/configure.in @@ -19,7 +19,7 @@ AC_CHECK_LIB([glib-2.0], [g_malloc]) # Checks for header files. AC_HEADER_STDC -AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/time.h unistd.h]) +AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/time.h unistd.h glib-2.0/glib.h]) # Checks for typedefs, structures, and compiler characteristics. AC_HEADER_STDBOOL diff --git a/ltt/branches/poly/include/ltt/ltt-private.h b/ltt/branches/poly/include/ltt/ltt-private.h index a15c9f43..a94d8c1b 100644 --- a/ltt/branches/poly/include/ltt/ltt-private.h +++ b/ltt/branches/poly/include/ltt/ltt-private.h @@ -1,4 +1,4 @@ -#include +#include #include "ltt/ltt.h" /* structure definition */ diff --git a/ltt/branches/poly/include/lttv/hook.h b/ltt/branches/poly/include/lttv/hook.h index 71a0a139..61e53ddd 100644 --- a/ltt/branches/poly/include/lttv/hook.h +++ b/ltt/branches/poly/include/lttv/hook.h @@ -1,7 +1,7 @@ #ifndef HOOK_H #define HOOK_H -#include +#include /* A hook is a function to call with the supplied hook data, and with call site specific data (e.g., hooks for events are called with a diff --git a/ltt/branches/poly/lttv/plugins/examples/sampledep.c b/ltt/branches/poly/lttv/plugins/examples/sampledep.c index 805c5283..de9441b5 100644 --- a/ltt/branches/poly/lttv/plugins/examples/sampledep.c +++ b/ltt/branches/poly/lttv/plugins/examples/sampledep.c @@ -2,8 +2,8 @@ /* Created by Mathieu Desnoyers, may 2003 */ -#include -#include +#include +#include /* Include module.h from lttv headers for module loading */ #include diff --git a/ltt/branches/poly/lttv/plugins/examples/samplemodule.c b/ltt/branches/poly/lttv/plugins/examples/samplemodule.c index e64ab2f4..0552a0c4 100644 --- a/ltt/branches/poly/lttv/plugins/examples/samplemodule.c +++ b/ltt/branches/poly/lttv/plugins/examples/samplemodule.c @@ -2,8 +2,8 @@ /* Created by Mathieu Desnoyers, may 2003 */ -#include -#include +#include +#include G_MODULE_EXPORT void init() { g_critical("Sample module init()"); diff --git a/ltt/branches/poly/lttv/plugins/examples/samplemodule2.c b/ltt/branches/poly/lttv/plugins/examples/samplemodule2.c index 3d7bb1c0..b01eee9c 100644 --- a/ltt/branches/poly/lttv/plugins/examples/samplemodule2.c +++ b/ltt/branches/poly/lttv/plugins/examples/samplemodule2.c @@ -2,8 +2,8 @@ /* Created by Mathieu Desnoyers, may 2003 */ -#include -#include +#include +#include G_MODULE_EXPORT void init() { g_critical("Sample module 2 init()");