summaryrefslogtreecommitdiff
path: root/src/errors.h
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2008-12-31 13:16:31 -0800
committerShawn O. Pearce <spearce@spearce.org>2008-12-31 13:16:31 -0800
commitd44cfd460e2c52d67dea14838b03219967cf9cb9 (patch)
tree01316e2444ef01a3a2939d6d891b1c7ee49bd05d /src/errors.h
parent4260699b37a7a0cc6be231d232d424a858a7d111 (diff)
downloadlibgit2-d44cfd460e2c52d67dea14838b03219967cf9cb9.tar.gz
Cleanup our header inclusion order to ensure pthread.h is early
If we are using threads we need to make sure pthread.h comes in before just about anything else. Some platforms enable macros that alter what other headers define. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/errors.h b/src/errors.h
index ab415d59c..94093ddb4 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -2,7 +2,6 @@
#define INCLUDE_errors_h__
#include "git/errors.h"
-#include <stdlib.h>
/* convenience functions */
GIT_INLINE(int) git_int_error(int code)