summaryrefslogtreecommitdiff
path: root/src/cc-compat.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2014-02-24 21:56:08 -0800
committerEdward Thomson <ethomson@microsoft.com>2014-02-24 21:56:08 -0800
commitab0af298da8c6d96870be06c2497640da9ec6647 (patch)
tree882e43ecb2acc5a034332ed8a5f840607a42885f /src/cc-compat.h
parent98b9366212ac6670bd5f90e70400e7cf09aea16a (diff)
downloadlibgit2-ab0af298da8c6d96870be06c2497640da9ec6647.tar.gz
Include stdarg.h for the va_copy test
Diffstat (limited to 'src/cc-compat.h')
-rw-r--r--src/cc-compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cc-compat.h b/src/cc-compat.h
index 37f1ea81e..e73cb6de8 100644
--- a/src/cc-compat.h
+++ b/src/cc-compat.h
@@ -7,6 +7,8 @@
#ifndef INCLUDE_compat_h__
#define INCLUDE_compat_h__
+#include <stdarg.h>
+
/*
* See if our compiler is known to support flexible array members.
*/