Commit b3be0fc7 by Ramsay Jones Committed by Shawn O. Pearce

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>
parent 5ee2fe77
......@@ -23,6 +23,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "common.h"
#include "git/oid.h"
#include <string.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment