Commit bfb4facb3a5e0b650811560fc49d27247fd9d85d

Vicent Martí 2013-04-21T15:20:36

Merge pull request #1495 from jasperla/development Add missing prototype for p_realpath().

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/unix/posix.h b/src/unix/posix.h
index f4886c5..9c9f837 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)