diff options
author | Vicent Martà <vicent@github.com> | 2013-04-21 15:20:36 -0700 |
---|---|---|
committer | Vicent Martà <vicent@github.com> | 2013-04-21 15:20:36 -0700 |
commit | bfb4facb3a5e0b650811560fc49d27247fd9d85d (patch) | |
tree | ddb5f01f6c10421f30ab6f8a1c0525f52beade1c | |
parent | 3a2a511be3ae225e5c5a3d38f65d672805ec99cd (diff) | |
parent | 0d4a5b13afc6c516212b194b238ab08d3362a041 (diff) | |
download | libgit2-bfb4facb3a5e0b650811560fc49d27247fd9d85d.tar.gz |
Merge pull request #1495 from jasperla/development
Add missing prototype for p_realpath().
-rw-r--r-- | src/unix/posix.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unix/posix.h b/src/unix/posix.h index f4886c5d1..9c9f837b9 100644 --- a/src/unix/posix.h +++ b/src/unix/posix.h @@ -21,6 +21,8 @@ /* The OpenBSD realpath function behaves differently */ #if !defined(__OpenBSD__) # define p_realpath(p, po) realpath(p, po) +#else +char *p_realpath(const char *, char *); #endif #define p_vsnprintf(b, c, f, a) vsnprintf(b, c, f, a) |