]> git.proxmox.com Git - libgit2.git/blobdiff - src/patch.h
New upstream version 1.4.3+dfsg.1
[libgit2.git] / src / patch.h
index 525ae700777f9a71385d0caa89596145411ef370..1e1471ed613abe8f11a0bbc6479e6753bd6bfd10 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef INCLUDE_patch_h__
 #define INCLUDE_patch_h__
 
+#include "common.h"
+
 #include "git2/patch.h"
 #include "array.h"
 
@@ -61,6 +63,7 @@ typedef struct {
 
 #define GIT_PATCH_OPTIONS_INIT { 1 }
 
+extern int git_patch__to_buf(git_str *out, git_patch *patch);
 extern void git_patch_free(git_patch *patch);
 
 #endif