Improve include order so that building without <glob.h> is possible.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13629 57a11ea4-9604-0410-9ed3-97b8803252fd
zzzoldfeatures/register-rewrite
Christian Stimming 20 years ago
parent 29593a9e11
commit 0744c4e591

@ -1,3 +1,8 @@
2006-03-14 Christian Stimming <stimming@tuhh.de>
* src/gnome-utils/gnc-druid-provider-multifile-gnome.h: Improve
include order so that building without <glob.h> is possible.
2006-03-14 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-tree-view-account.c:

@ -10,6 +10,7 @@
#ifdef HAVE_GLOB_H
# include <glob.h>
#else
# include <stddef.h> /* for size_t */
typedef struct
{
size_t gl_pathc; /* Count of paths matched so far */

@ -2,9 +2,9 @@
#include "config.h"
#include "gnc-druid-gnome-ui.h"
#include "gnc-druid-provider-file-gnome.h"
#include "gnc-druid-provider-multifile-gnome.h"
#include "gnc-druid-provider-desc-multifile.h"
#include "gnc-druid-provider-file-gnome.h"
#include "gnc-basic-gobject.h"
#include "dialog-utils.h"

@ -10,12 +10,15 @@
#ifdef HAVE_GLOB_H
# include <glob.h>
#else
# ifndef GNC_DRUID_PROVIDER_FILE_GNOME_H
# include <stddef.h> /* for size_t */
typedef struct
{
size_t gl_pathc; /* Count of paths matched so far */
char **gl_pathv; /* List of matched pathnames. */
size_t gl_offs; /* Slots to reserve in `gl_pathv'. */
} glob_t;
# endif
#endif
#include <glib.h>

Loading…
Cancel
Save