summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2019-06-13 15:20:23 +0200
committerPatrick Steinhardt <ps@pks.im>2019-06-15 09:34:21 +0200
commit451df7930db432e7b251bbd0fe2862fe96424ae9 (patch)
treefa37153666ddbc396b20cefac7d32e2de41145f8 /tests
parenta9f576291ac3c2790124809b2390b3f2915aaa44 (diff)
downloadlibgit2-451df7930db432e7b251bbd0fe2862fe96424ae9.tar.gz
posix: remove implicit include of "fnmatch.h"
We're about to phase out our bundled fnmatch implementation as git.git has moved to wildmatch long ago in 2014. To make it easier to spot which files are stilll using fnmatch, remove the implicit "fnmatch.h" include in "posix.h" and instead include it explicitly.
Diffstat (limited to 'tests')
-rw-r--r--tests/describe/describe_helpers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/describe/describe_helpers.c b/tests/describe/describe_helpers.c
index 2e6ad539e..e8e887c97 100644
--- a/tests/describe/describe_helpers.c
+++ b/tests/describe/describe_helpers.c
@@ -1,5 +1,7 @@
#include "describe_helpers.h"
+#include "fnmatch.h"
+
void assert_describe(
const char *expected_output,
const char *revparse_spec,