custom basename(3) and dirname(3)

diff --git a/libasn1compiler/asn1c_compat.h b/libasn1compiler/asn1c_compat.h
new file mode 100644
index 0000000..9461b78
--- /dev/null
+++ b/libasn1compiler/asn1c_compat.h
@@ -0,0 +1,11 @@
+#ifndef	ASN1C_COMPAT_H
+#define	ASN1C_COMPAT_H
+
+#ifdef	HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+char *a1c_basename(const char *path);
+char *a1c_dirname(const char *path);
+
+#endif	/* ASN1C_COMPAT_H */