summaryrefslogtreecommitdiffstats
path: root/libkdenetwork/libgpgme-copy/gpgme/fakes.c
diff options
context:
space:
mode:
Diffstat (limited to 'libkdenetwork/libgpgme-copy/gpgme/fakes.c')
-rw-r--r--libkdenetwork/libgpgme-copy/gpgme/fakes.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/libkdenetwork/libgpgme-copy/gpgme/fakes.c b/libkdenetwork/libgpgme-copy/gpgme/fakes.c
new file mode 100644
index 000000000..44d5940f1
--- /dev/null
+++ b/libkdenetwork/libgpgme-copy/gpgme/fakes.c
@@ -0,0 +1,24 @@
+#include <config.h>
+
+/** How can this work? The prototypes are not defined anywhere for code using those functions.... */
+
+#ifndef HAVE_STPCPY
+#include "stpcpy.c"
+#endif
+
+/*#ifndef HAVE_ISASCII
+#include "isascii.c"
+#endif*/
+
+#ifndef HAVE_PUTC_UNLOCKED
+#ifndef __FreeBSD__
+#include "putc_unlocked.c"
+#endif
+#endif
+
+#ifndef HAVE_MEMRCHR
+#include "memrchr.c"
+#endif
+
+
+