summaryrefslogtreecommitdiff
path: root/src/unix/posix.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2012-06-07 20:40:34 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2012-06-07 20:40:34 +0100
commit2774ccb8515354c2c6b9e9e4da09115ca44ecbd5 (patch)
tree6160ef6eb22037d6133ae0a7eec0d1e19dc1f6db /src/unix/posix.h
parentfb0b1523c40e843fd3bdae539e7382acd4a5c06b (diff)
downloadlibgit2-2774ccb8515354c2c6b9e9e4da09115ca44ecbd5.tar.gz
no fnmatch.h
Diffstat (limited to 'src/unix/posix.h')
-rw-r--r--src/unix/posix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/posix.h b/src/unix/posix.h
index 48b492941..83fd8a189 100644
--- a/src/unix/posix.h
+++ b/src/unix/posix.h
@@ -7,7 +7,7 @@
#ifndef INCLUDE_posix__w32_h__
#define INCLUDE_posix__w32_h__
-#ifndef __sun
+#if !defined(__sun) && !defined(__amigaos4__)
# include <fnmatch.h>
# define p_fnmatch(p, s, f) fnmatch(p, s, f)
#else