Some work on porting dirmngr (unfinished)
[gnupg.git] / dirmngr / dirmngr.h
index e6fa0d3..67f2122 100644 (file)
 #ifndef DIRMNGR_H
 #define DIRMNGR_H
 
-#ifdef GPG_ERR_SOURCE_DEFAULT
-#error GPG_ERR_SOURCE_DEFAULT already defined
-#endif
-#define GPG_ERR_SOURCE_DEFAULT  GPG_ERR_SOURCE_DIRMNGR
-#include <gpg-error.h>
+#include "./dirmngr-err.h"
 #define map_assuan_err(a) \
         map_assuan_err_with_source (GPG_ERR_SOURCE_DEFAULT, (a))
 #include <errno.h>