summaryrefslogtreecommitdiff
path: root/support/gnomesupport-fake.h
diff options
context:
space:
mode:
Diffstat (limited to 'support/gnomesupport-fake.h')
-rw-r--r--support/gnomesupport-fake.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/support/gnomesupport-fake.h b/support/gnomesupport-fake.h
new file mode 100644
index 00000000..067071eb
--- /dev/null
+++ b/support/gnomesupport-fake.h
@@ -0,0 +1,22 @@
+#ifndef GNOMESUPPORT_FAKE_H_
+#define GNOMESUPPORT_FAKE_H_
+
+#if HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#include <gnomesupport.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_ */