mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Check for <glob.h> and provide own typedef if header unavailable.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13555 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
80c1f04c80
commit
f3a611d90a
@ -1,5 +1,11 @@
|
||||
2006-03-09 Christian Stimming <stimming@tuhh.de>
|
||||
|
||||
* configure.in, src/gnome-utils/gnc-druid-provider-file-gnome.h:
|
||||
Check for <glob.h> and provide own typedef if header unavailable.
|
||||
|
||||
* configure.in, src/gnome-utils/gnc-gnome-utils.c: Check for
|
||||
<X11/Xlib.h> and ignore code section if header unavailable.
|
||||
|
||||
* po/glossary/vi.po: Updated vietnamese glossary by Clytie Siddall
|
||||
<clytie@riverland.net.au>
|
||||
|
||||
|
@ -7,7 +7,17 @@
|
||||
//extern "C" {
|
||||
#endif
|
||||
|
||||
#include <glob.h>
|
||||
#ifdef HAVE_GLOB_H
|
||||
# include <glob.h>
|
||||
#else
|
||||
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
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib-object.h>
|
||||
#include <libgnomeui/libgnomeui.h>
|
||||
|
Loading…
Reference in New Issue
Block a user