diff options
| author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2009-06-04 17:10:17 +0100 | 
|---|---|---|
| committer | Andreas Ericsson <ae@op5.se> | 2009-06-05 12:12:42 +0200 | 
| commit | cf33ac7a3d8b2b8f6bb266518aadbf59de397608 (patch) | |
| tree | 12dcefefdbc9972cf851906ca5c8e8fea46d1fcc /tests/test_main.c | |
| parent | e17a3f5673e0dc4d9ade34a0a276e6c202506fdf (diff) | |
| download | libgit2-cf33ac7a3d8b2b8f6bb266518aadbf59de397608.tar.gz | |
Makefile: Add CFLAGS to the "test_main.c" compile target
Also, add the <string.h> include to test_main.c, in order to
suppress the resulting "implicit declaration of strcmp()" warning.
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Andreas Ericsson <ae@op5.se>
Diffstat (limited to 'tests/test_main.c')
| -rw-r--r-- | tests/test_main.c | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_main.c b/tests/test_main.c index 0be51ee21..43bb43402 100644 --- a/tests/test_main.c +++ b/tests/test_main.c @@ -24,6 +24,7 @@   */  #include "test_lib.h" +#include <string.h>  #undef BEGIN_TEST  #define BEGIN_TEST(name) extern void testfunc__##name(void);  | 
