diff options
| author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2008-12-03 23:54:47 +0000 |
|---|---|---|
| committer | Shawn O. Pearce <spearce@spearce.org> | 2008-12-09 08:38:10 -0800 |
| commit | b3be0fc7562d51df415c14abf671deb37d8f89ef (patch) | |
| tree | 7e822f212370d60dc701504a5512544891f3ae05 /src/oid.c | |
| parent | 5ee2fe777c41d9ad9e7eb9fece56fe21f830c5cd (diff) | |
| download | libgit2-b3be0fc7562d51df415c14abf671deb37d8f89ef.tar.gz | |
Fix an "implicit function definition" warning on cygwin
In particular, the warning relates to malloc(), which is
declared in <stdlib.h>. This header is now included,
indirectly, via the "common.h" header.
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'src/oid.c')
| -rw-r--r-- | src/oid.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -23,6 +23,7 @@ * Boston, MA 02110-1301, USA. */ +#include "common.h" #include "git/oid.h" #include <string.h> |
