blob: 3431ce92bed6621c7c1b5b51486ae8885f2d3783 (
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
30
31
32
33
34
35
|
#ifndef GNOMESUPPORT_FAKE_H_
#define GNOMESUPPORT_FAKE_H_
#if HAVE_CONFIG_H
# include <config.h>
#endif
#include <stddef.h>
/* ??? This is required to get `size_t' on some systems. */
#include <sys/types.h>
#include <gnomesupport.h>
/* Some systems, like Red Hat 4.0, define these but don't declare
them. Hopefully it is safe to always declare them here. */
extern char *program_invocation_short_name;
extern char *program_invocation_name;
/* 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
#ifndef HAVE_PROGRAM_INVOCATION_SHORT_NAME
# define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#endif
#endif /* GNOMESUPPORT_FAKE_H_ */
|