summaryrefslogtreecommitdiff
path: root/support/gnomesupport-fake.h
blob: 9b9eae1476b989b7b8b9f9ed76caa4ae16b7a5b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef GNOMESUPPORT_FAKE_H_
#define GNOMESUPPORT_FAKE_H_

#if HAVE_CONFIG_H
# include <config.h>
#endif

/* This is required to get `size_t' on some systems. */
#include <sys/types.h>

#ifdef NEED_GNOMESUPPORT_H
#include <gnomesupport.h>
#endif

#include <gnome-argp.h>

/* Override some of config.h.
   Gnomesupport provides the replacements for these, so you actually
   HAVE_ them.  */

#ifndef HAVE_STRERROR
# define HAVE_STRERROR 1
#endif

#ifndef HAVE_PROGRAM_INVOCATION_NAME
# define HAVE_PROGRAM_INVOCATION_NAME 1
#endif

#endif /* GNOMESUPPORT_FAKE_H_ */