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>
This commit is contained in:
Ramsay Jones 2008-12-03 23:54:47 +00:00 committed by Shawn O. Pearce
parent 5ee2fe777c
commit b3be0fc756

View File

@ -23,6 +23,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "common.h"
#include "git/oid.h"
#include <string.h>