Include config.h in all .c files

Need to be the first file since it may define large files support
and other options.
This commit is contained in:
Nirgal Vourgère
2013-07-04 10:53:13 +02:00
parent 66b87caf26
commit 7162e8db74
60 changed files with 106 additions and 50 deletions

View File

@@ -23,11 +23,11 @@
* gboolean *dissect: whether dissecting is turned on
*/
#include "gmdb.h"
#include "config.h"
#include <glade/glade.h>
#include <gtk/gtkmessagedialog.h>
#include <libgnome/gnome-i18n.h>
#include "gmdb.h"
extern MdbHandle *mdb;

View File

@@ -15,14 +15,15 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "gmdb.h"
#include <mdbtools.h>
#include "config.h"
#include <gtk/gtkiconview.h>
#include <gtk/gtkliststore.h>
#include <gtk/gtkmessagedialog.h>
#include <libgnome/gnome-i18n.h>
#include <libgnome/gnome-config.h>
#include "mdbtools.h"
#include "gmdb.h"
MdbHandle *mdb;
extern int main_show_debug;

View File

@@ -1,14 +1,14 @@
#include <mdbtools.h>
#include <mdbsql.h>
#ifndef _gmdb_h_
#define _gmdb_h_
#include <assert.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <gtk/gtk.h>
#include <glade/glade.h>
#ifndef _gmdb_h_
#define _gmdb_h_
#include "mdbtools.h"
#include "mdbsql.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -15,6 +15,8 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "gmdb.h"
extern GtkWidget *app;

View File

@@ -15,12 +15,14 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include <gnome.h>
#include <libgnome/gnome-help.h>
#include <glade/glade.h>
#include <mdbtools.h>
#include <mdbver.h>
#include <mdbsql.h>
#include "mdbtools.h"
#include "mdbver.h"
#include "mdbsql.h"
#include "gmdb.h"
GtkWidget *app;

View File

@@ -15,10 +15,11 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "gmdb.h"
#include "config.h"
#include <libgnome/gnome-config.h>
#include <libgnome/gnome-help.h>
#include "gmdb.h"
extern GtkWidget *app;
extern MdbHandle *mdb;

View File

@@ -15,11 +15,12 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "gmdb.h"
#include "config.h"
#include <gtk/gtkmessagedialog.h>
#include <libgnome/gnome-i18n.h>
#include <libgnome/gnome-help.h>
#include "gmdb.h"
extern GtkWidget *app;
extern MdbHandle *mdb;

View File

@@ -15,10 +15,11 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "gmdb.h"
#include "config.h"
#include <gtk/gtkmessagedialog.h>
#include <libgnome/gnome-i18n.h>
#include "gmdb.h"
#if SQL

View File

@@ -15,10 +15,11 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "gmdb.h"
#include "config.h"
#include <gtk/gtkiconview.h>
#include <glade/glade.h>
#include "gmdb.h"
extern GladeXML* mainwin_xml;
extern MdbHandle *mdb;

View File

@@ -15,6 +15,8 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "gmdb.h"
extern GtkWidget *app;

View File

@@ -15,6 +15,8 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "gmdb.h"
#define COL_PK 0

View File

@@ -15,12 +15,13 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "gmdb.h"
#include "config.h"
#include <gtk/gtk.h>
#include <gtk/gtkmessagedialog.h>
#include <libgnome/gnome-i18n.h>
#include <libgnome/gnome-help.h>
#include "gmdb.h"
extern GtkWidget *app;
extern MdbHandle *mdb;