From 4e4d11b3b1db254446f6cad04b3c3fa9b574851f Mon Sep 17 00:00:00 2001 From: compudj Date: Tue, 26 Jul 2005 22:17:47 +0000 Subject: [PATCH] Add config.h support : will fix the LARGEFILE problem git-svn-id: http://ltt.polymtl.ca/svn@984 04897980-b3bd-0310-b5e0-8ef037075253 --- .../developer/ltt-experimental-rewrite.html | 18 ++++++++++++++---- ltt/branches/poly/libltt/libltt.c | 4 ++++ ltt/branches/poly/ltt/convert/convert.c | 4 ++++ ltt/branches/poly/ltt/event.c | 4 ++++ ltt/branches/poly/ltt/facility.c | 4 ++++ ltt/branches/poly/ltt/parser.c | 4 ++++ ltt/branches/poly/ltt/tracefile.c | 4 ++++ ltt/branches/poly/ltt/type.c | 4 ++++ ltt/branches/poly/lttctl/lttctl.c | 4 ++++ ltt/branches/poly/lttd/lttd.c | 5 ++++- ltt/branches/poly/lttv/lttv/attribute.c | 4 ++++ ltt/branches/poly/lttv/lttv/batchtest.c | 6 +++++- ltt/branches/poly/lttv/lttv/filter.c | 4 ++++ ltt/branches/poly/lttv/lttv/hook.c | 3 +++ ltt/branches/poly/lttv/lttv/iattribute.c | 3 +++ ltt/branches/poly/lttv/lttv/main.c | 3 +++ ltt/branches/poly/lttv/lttv/module.c | 4 ++++ ltt/branches/poly/lttv/lttv/option.c | 3 +++ ltt/branches/poly/lttv/lttv/state.c | 3 +++ ltt/branches/poly/lttv/lttv/stats.c | 3 +++ ltt/branches/poly/lttv/lttv/tracecontext.c | 4 ++++ ltt/branches/poly/lttv/lttv/traceset.c | 3 +++ .../poly/lttv/modules/examples/sampledep.c | 4 ++++ .../poly/lttv/modules/examples/samplemodule.c | 4 ++++ .../poly/lttv/modules/examples/samplemodule2.c | 4 ++++ .../poly/lttv/modules/gui/controlflow/cfv.c | 4 ++++ .../lttv/modules/gui/controlflow/drawing.c | 4 ++++ .../lttv/modules/gui/controlflow/drawitem.c | 4 ++++ .../lttv/modules/gui/controlflow/eventhooks.c | 3 +++ .../poly/lttv/modules/gui/controlflow/module.c | 4 ++++ .../lttv/modules/gui/controlflow/processlist.c | 4 ++++ .../poly/lttv/modules/gui/controlflow/test.c | 3 +++ .../lttv/modules/gui/detailedevents/events.c | 4 ++++ .../poly/lttv/modules/gui/filter/filter.c | 4 ++++ .../gui/lttvwindow/lttvwindow/computetrace.c | 3 +++ .../gui/lttvwindow/lttvwindow/gtkdirsel.c | 4 +++- .../gui/lttvwindow/lttvwindow/gtkmultivpaned.c | 4 ++++ .../gui/lttvwindow/lttvwindow/lttvwindow.c | 4 ++++ .../lttvwindow/lttvwindow/lttvwindowtraces.c | 4 ++++ .../modules/gui/lttvwindow/lttvwindow/menu.c | 4 ++++ .../gui/lttvwindow/lttvwindow/toolbar.c | 4 ++++ .../lttv/modules/gui/statistics/statistics.c | 4 ++++ .../poly/lttv/modules/text/batchAnalysis.c | 3 +++ ltt/branches/poly/lttv/modules/text/textDump.c | 4 ++++ .../poly/lttv/modules/text/textFilter.c | 4 ++++ 45 files changed, 179 insertions(+), 7 deletions(-) diff --git a/ltt/branches/poly/doc/developer/ltt-experimental-rewrite.html b/ltt/branches/poly/doc/developer/ltt-experimental-rewrite.html index 463ab96c..aa3f79c1 100644 --- a/ltt/branches/poly/doc/developer/ltt-experimental-rewrite.html +++ b/ltt/branches/poly/doc/developer/ltt-experimental-rewrite.html @@ -13,16 +13,26 @@ Use per cpu spinlock on trace list.
Finish the control module, libltt and lttctl : netlink interface
Finish integrating lttctl with lttd.
fix lttctl signal waiting : use a flag.
-
-
-* TODO
+Add ltt_write_commit_counter call to genevent.
Add information in the buffer header : buffer size, etc etc...
-> this information is so small that we can repeat it. Makes flight recorder easier to decode.
-Add trace start structure to facility channel.
+Add trace start structure to buffer start header.
fix genevent : take no lock if num traces active is 0.


+* TODO
+Add type information per facility : it will help having a standard way +to understand information coming from both kernel space and user space, and deal +easily with 64 bits kernel with 64 and 32 bits processes (and with size_t know +at compile time which can differ inside the same process from one library to +another).
+fix structures alignment, array and sequences too. -> trace dynamic.
+add per facility alignment (inside structures).
+add control of alignment.
+add user space tracing.
+
+

* TODO (low priority)
Integrate header generation (genevent) in kernel build system.
diff --git a/ltt/branches/poly/libltt/libltt.c b/ltt/branches/poly/libltt/libltt.c index 24d4484e..5363f843 100644 --- a/ltt/branches/poly/libltt/libltt.c +++ b/ltt/branches/poly/libltt/libltt.c @@ -23,6 +23,10 @@ * */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/ltt/branches/poly/ltt/convert/convert.c b/ltt/branches/poly/ltt/convert/convert.c index 7b4403ea..b9812cc5 100644 --- a/ltt/branches/poly/ltt/convert/convert.c +++ b/ltt/branches/poly/ltt/convert/convert.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/ltt/branches/poly/ltt/event.c b/ltt/branches/poly/ltt/event.c index b7da64e5..02ecf271 100644 --- a/ltt/branches/poly/ltt/event.c +++ b/ltt/branches/poly/ltt/event.c @@ -16,6 +16,10 @@ * MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/ltt/branches/poly/ltt/facility.c b/ltt/branches/poly/ltt/facility.c index 1aa6b432..84baac98 100644 --- a/ltt/branches/poly/ltt/facility.c +++ b/ltt/branches/poly/ltt/facility.c @@ -16,6 +16,10 @@ * MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/ltt/branches/poly/ltt/parser.c b/ltt/branches/poly/ltt/parser.c index 5c90c983..8e409aa9 100644 --- a/ltt/branches/poly/ltt/parser.c +++ b/ltt/branches/poly/ltt/parser.c @@ -34,6 +34,10 @@ This program is distributed in the hope that it will be useful, all types is maintained to facilitate the freeing of all type information when the processing of an ".xml" file is finished. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/ltt/branches/poly/ltt/tracefile.c b/ltt/branches/poly/ltt/tracefile.c index 0a649b5e..a111e41f 100644 --- a/ltt/branches/poly/ltt/tracefile.c +++ b/ltt/branches/poly/ltt/tracefile.c @@ -16,6 +16,10 @@ * MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/ltt/branches/poly/ltt/type.c b/ltt/branches/poly/ltt/type.c index 34eeb4e0..7f134eda 100644 --- a/ltt/branches/poly/ltt/type.c +++ b/ltt/branches/poly/ltt/type.c @@ -16,6 +16,10 @@ * MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include diff --git a/ltt/branches/poly/lttctl/lttctl.c b/ltt/branches/poly/lttctl/lttctl.c index e4e2908e..d392e8fa 100644 --- a/ltt/branches/poly/lttctl/lttctl.c +++ b/ltt/branches/poly/lttctl/lttctl.c @@ -8,6 +8,10 @@ * Mathieu Desnoyers */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/ltt/branches/poly/lttd/lttd.c b/ltt/branches/poly/lttd/lttd.c index 63d483b6..fda5de51 100644 --- a/ltt/branches/poly/lttd/lttd.c +++ b/ltt/branches/poly/lttd/lttd.c @@ -10,8 +10,11 @@ * Mathieu Desnoyers */ -#define _GNU_SOURCE +#ifdef HAVE_CONFIG_H #include +#endif + +#define _GNU_SOURCE #include #include #include diff --git a/ltt/branches/poly/lttv/lttv/attribute.c b/ltt/branches/poly/lttv/lttv/attribute.c index 57f4330f..b4402b25 100644 --- a/ltt/branches/poly/lttv/lttv/attribute.c +++ b/ltt/branches/poly/lttv/lttv/attribute.c @@ -16,6 +16,10 @@ * MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/ltt/branches/poly/lttv/lttv/batchtest.c b/ltt/branches/poly/lttv/lttv/batchtest.c index ab50262c..3a4a2565 100644 --- a/ltt/branches/poly/lttv/lttv/batchtest.c +++ b/ltt/branches/poly/lttv/lttv/batchtest.c @@ -19,8 +19,12 @@ /* This module inserts a hook in the program main loop. This hook processes all the events in the main tracefile while testing the speed and functionality of the state and stats computations. */ -#include +#ifdef HAVE_CONFIG_H +#include +#endif + +#include #include #include #include diff --git a/ltt/branches/poly/lttv/lttv/filter.c b/ltt/branches/poly/lttv/lttv/filter.c index daa00769..f0eca9cb 100644 --- a/ltt/branches/poly/lttv/lttv/filter.c +++ b/ltt/branches/poly/lttv/lttv/filter.c @@ -63,6 +63,10 @@ * - remove the idle expressions in the tree */ +#ifdef HAVE_CONFIG_H +#include +#endif + //#define TEST #ifdef TEST #include diff --git a/ltt/branches/poly/lttv/lttv/hook.c b/ltt/branches/poly/lttv/lttv/hook.c index 926e5fd0..04d1a748 100644 --- a/ltt/branches/poly/lttv/lttv/hook.c +++ b/ltt/branches/poly/lttv/lttv/hook.c @@ -16,6 +16,9 @@ * MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif #include #include diff --git a/ltt/branches/poly/lttv/lttv/iattribute.c b/ltt/branches/poly/lttv/lttv/iattribute.c index ef357dd5..a447192e 100644 --- a/ltt/branches/poly/lttv/lttv/iattribute.c +++ b/ltt/branches/poly/lttv/lttv/iattribute.c @@ -16,6 +16,9 @@ * MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif #include diff --git a/ltt/branches/poly/lttv/lttv/main.c b/ltt/branches/poly/lttv/lttv/main.c index 16c0126f..2c4a9f0a 100644 --- a/ltt/branches/poly/lttv/lttv/main.c +++ b/ltt/branches/poly/lttv/lttv/main.c @@ -16,6 +16,9 @@ * MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif #include #include diff --git a/ltt/branches/poly/lttv/lttv/module.c b/ltt/branches/poly/lttv/lttv/module.c index e2d4d2ca..bc4f3de0 100644 --- a/ltt/branches/poly/lttv/lttv/module.c +++ b/ltt/branches/poly/lttv/lttv/module.c @@ -20,6 +20,10 @@ /* module.c : Implementation of the module loading/unloading mechanism. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include diff --git a/ltt/branches/poly/lttv/lttv/option.c b/ltt/branches/poly/lttv/lttv/option.c index f4b34275..f0d44254 100644 --- a/ltt/branches/poly/lttv/lttv/option.c +++ b/ltt/branches/poly/lttv/lttv/option.c @@ -16,6 +16,9 @@ * MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif #include #include diff --git a/ltt/branches/poly/lttv/lttv/state.c b/ltt/branches/poly/lttv/lttv/state.c index dc5c9806..148b17bb 100644 --- a/ltt/branches/poly/lttv/lttv/state.c +++ b/ltt/branches/poly/lttv/lttv/state.c @@ -16,6 +16,9 @@ * MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif #include #include diff --git a/ltt/branches/poly/lttv/lttv/stats.c b/ltt/branches/poly/lttv/lttv/stats.c index c2fca684..4f476d93 100644 --- a/ltt/branches/poly/lttv/lttv/stats.c +++ b/ltt/branches/poly/lttv/lttv/stats.c @@ -16,6 +16,9 @@ * MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif #include #include diff --git a/ltt/branches/poly/lttv/lttv/tracecontext.c b/ltt/branches/poly/lttv/lttv/tracecontext.c index af39ffdc..6179f95e 100644 --- a/ltt/branches/poly/lttv/lttv/tracecontext.c +++ b/ltt/branches/poly/lttv/lttv/tracecontext.c @@ -16,6 +16,10 @@ * MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/ltt/branches/poly/lttv/lttv/traceset.c b/ltt/branches/poly/lttv/lttv/traceset.c index bfd75107..181bdd53 100644 --- a/ltt/branches/poly/lttv/lttv/traceset.c +++ b/ltt/branches/poly/lttv/lttv/traceset.c @@ -16,6 +16,9 @@ * MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif #include #include diff --git a/ltt/branches/poly/lttv/modules/examples/sampledep.c b/ltt/branches/poly/lttv/modules/examples/sampledep.c index 305e0460..9f0ca614 100644 --- a/ltt/branches/poly/lttv/modules/examples/sampledep.c +++ b/ltt/branches/poly/lttv/modules/examples/sampledep.c @@ -2,6 +2,10 @@ /* Created by Mathieu Desnoyers, may 2003 */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include /* Include module.h from lttv headers for module loading */ diff --git a/ltt/branches/poly/lttv/modules/examples/samplemodule.c b/ltt/branches/poly/lttv/modules/examples/samplemodule.c index 3156c9f2..6e676d5c 100644 --- a/ltt/branches/poly/lttv/modules/examples/samplemodule.c +++ b/ltt/branches/poly/lttv/modules/examples/samplemodule.c @@ -2,6 +2,10 @@ /* Created by Mathieu Desnoyers, may 2003 */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include diff --git a/ltt/branches/poly/lttv/modules/examples/samplemodule2.c b/ltt/branches/poly/lttv/modules/examples/samplemodule2.c index 6ce8edd6..19a094d1 100644 --- a/ltt/branches/poly/lttv/modules/examples/samplemodule2.c +++ b/ltt/branches/poly/lttv/modules/examples/samplemodule2.c @@ -2,6 +2,10 @@ /* Created by Mathieu Desnoyers, may 2003 */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/cfv.c b/ltt/branches/poly/lttv/modules/gui/controlflow/cfv.c index 0917305a..60169687 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/cfv.c +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/cfv.c @@ -16,6 +16,10 @@ * MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c b/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c index a67acc5a..b4411bc4 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c @@ -16,6 +16,10 @@ * MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/drawitem.c b/ltt/branches/poly/lttv/modules/gui/controlflow/drawitem.c index 60cf7706..7e1980e2 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/drawitem.c +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/drawitem.c @@ -94,6 +94,10 @@ * Author : Mathieu Desnoyers, October 2003 */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c b/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c index b34e462b..7c477920 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c @@ -45,6 +45,9 @@ * line/background. */ +#ifdef HAVE_CONFIG_H +#include +#endif //#define PANGO_ENABLE_BACKEND #include diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/module.c b/ltt/branches/poly/lttv/modules/gui/controlflow/module.c index dd99d130..c0b3f498 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/module.c +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/module.c @@ -37,6 +37,10 @@ * Author : Mathieu Desnoyers, June 2003 */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.c b/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.c index 2e027388..4ecef3d2 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.c +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.c @@ -16,6 +16,10 @@ * MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/test.c b/ltt/branches/poly/lttv/modules/gui/controlflow/test.c index 9e0e2aab..8a71a52e 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/test.c +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/test.c @@ -16,6 +16,9 @@ * MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif static void destroy_cb( GtkWidget *widget, gpointer data ) diff --git a/ltt/branches/poly/lttv/modules/gui/detailedevents/events.c b/ltt/branches/poly/lttv/modules/gui/detailedevents/events.c index 659c5533..129a3e53 100644 --- a/ltt/branches/poly/lttv/modules/gui/detailedevents/events.c +++ b/ltt/branches/poly/lttv/modules/gui/detailedevents/events.c @@ -37,6 +37,10 @@ * Inspired from original LTT, made by Karim Yaghmour */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include diff --git a/ltt/branches/poly/lttv/modules/gui/filter/filter.c b/ltt/branches/poly/lttv/modules/gui/filter/filter.c index 351944bb..893929b4 100644 --- a/ltt/branches/poly/lttv/modules/gui/filter/filter.c +++ b/ltt/branches/poly/lttv/modules/gui/filter/filter.c @@ -16,6 +16,10 @@ * MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/computetrace.c b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/computetrace.c index 1874e219..29f52448 100644 --- a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/computetrace.c +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/computetrace.c @@ -16,6 +16,9 @@ * MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif /* This file does not even compile yet. It is a starting point to compute some values in the background. This is why process_trace was split in diff --git a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/gtkdirsel.c b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/gtkdirsel.c index 9e6c1ccd..801f5973 100644 --- a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/gtkdirsel.c +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/gtkdirsel.c @@ -21,7 +21,9 @@ * MA 02111-1307, USA. */ -#include "config.h" +#ifdef HAVE_CONFIG_H +#include +#endif #include #include diff --git a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/gtkmultivpaned.c b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/gtkmultivpaned.c index 5856a7bf..ec8b3755 100644 --- a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/gtkmultivpaned.c +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/gtkmultivpaned.c @@ -16,6 +16,10 @@ * MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include diff --git a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c index befe1669..2cc2bf2c 100644 --- a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c @@ -28,6 +28,10 @@ * */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindowtraces.c b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindowtraces.c index 7e8a2a8e..31b57646 100644 --- a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindowtraces.c +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindowtraces.c @@ -20,6 +20,10 @@ /* Here is the implementation of the API */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/menu.c b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/menu.c index d201ac0e..5235acaa 100644 --- a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/menu.c +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/menu.c @@ -16,6 +16,10 @@ * MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include diff --git a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/toolbar.c b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/toolbar.c index 72f4a157..a01986d9 100644 --- a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/toolbar.c +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/toolbar.c @@ -16,6 +16,10 @@ * MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include diff --git a/ltt/branches/poly/lttv/modules/gui/statistics/statistics.c b/ltt/branches/poly/lttv/modules/gui/statistics/statistics.c index f32538d5..075997f9 100644 --- a/ltt/branches/poly/lttv/modules/gui/statistics/statistics.c +++ b/ltt/branches/poly/lttv/modules/gui/statistics/statistics.c @@ -16,6 +16,10 @@ * MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/ltt/branches/poly/lttv/modules/text/batchAnalysis.c b/ltt/branches/poly/lttv/modules/text/batchAnalysis.c index 60d1cc53..785ff1a8 100644 --- a/ltt/branches/poly/lttv/modules/text/batchAnalysis.c +++ b/ltt/branches/poly/lttv/modules/text/batchAnalysis.c @@ -19,6 +19,9 @@ /* This module inserts a hook in the program main loop. This hook processes all the events in the main tracefile. */ +#ifdef HAVE_CONFIG_H +#include +#endif #include #include diff --git a/ltt/branches/poly/lttv/modules/text/textDump.c b/ltt/branches/poly/lttv/modules/text/textDump.c index 11afbed4..b6de60fe 100644 --- a/ltt/branches/poly/lttv/modules/text/textDump.c +++ b/ltt/branches/poly/lttv/modules/text/textDump.c @@ -20,6 +20,10 @@ before each trace, to print each event, and to print statistics after each trace. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/ltt/branches/poly/lttv/modules/text/textFilter.c b/ltt/branches/poly/lttv/modules/text/textFilter.c index 20b769cf..88a5942b 100644 --- a/ltt/branches/poly/lttv/modules/text/textFilter.c +++ b/ltt/branches/poly/lttv/modules/text/textFilter.c @@ -25,6 +25,10 @@ * file containing filtering expressions. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include -- 2.34.1