aboutsummaryrefslogtreecommitdiffstats
path: root/common/membuf.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-10-08 14:42:14 +0000
committerWerner Koch <[email protected]>2015-10-08 14:42:14 +0000
commit4c298525903f844eee95ecbcdc45f5ac034fa148 (patch)
tree6f085badc4c0066dba198f994caec0045caafa9e /common/membuf.c
parentgpg: Add option --print-dane-records. (diff)
downloadgnupg-4c298525903f844eee95ecbcdc45f5ac034fa148.tar.gz
gnupg-4c298525903f844eee95ecbcdc45f5ac034fa148.zip
common: Allow building of mkdir_p.c for Windows.
* common/mkdir_p.c: Change license and comment debug statements. (amkdir_p, mkdir_p): Fail on malloc error and use default_errsource to build an error code. Change return value to gpg_error_t. (amkdir_p): Use gnupg_mkdir. * common/membuf.c: Include util.h first to avoid redefined macro warnings. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/membuf.c')
-rw-r--r--common/membuf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/membuf.c b/common/membuf.c
index cc7772f29..f4430a972 100644
--- a/common/membuf.c
+++ b/common/membuf.c
@@ -33,9 +33,8 @@
#include <errno.h>
#include <stdarg.h>
-#include "membuf.h"
-
#include "util.h"
+#include "membuf.h"
/* A simple implementation of a dynamic buffer. Use init_membuf() to