summaryrefslogtreecommitdiff
path: root/src/errors.h
diff options
context:
space:
mode:
authorAndreas Ericsson <ae@op5.se>2008-11-23 22:37:55 +0100
committerShawn O. Pearce <spearce@spearce.org>2008-12-02 09:17:23 -0800
commitec250c6e18e56d12714f9010e1b15e5feec5f473 (patch)
treeeb815f96b04732b893bc17c209665b211e3cab0f /src/errors.h
parent42c07750c431b6bd77c6a9e1ff4997285932e352 (diff)
downloadlibgit2-ec250c6e18e56d12714f9010e1b15e5feec5f473.tar.gz
Remove config.h and make fileops an internal API
Since it doesn't make sense to make the disk access stuff portable *AND* public (that's a job for each application imo), we can take a shortcut and just support unixy stuff for now and get away with coding most of it as macros. Since we go with an internal API for starters and only provide higher-level API's to the libgit users, we'll be ok with this approach. Signed-off-by: Andreas Ericsson <ae@op5.se> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h
index e323fc511..690992508 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -1,6 +1,7 @@
#ifndef INCLUDE_errors_h__
#define INCLUDE_errors_h__
#include "git/errors.h"
+#include <stdlib.h>
/* convenience functions */
static inline int git_int_error(int code)