summaryrefslogtreecommitdiff
path: root/ext/posix/posix.c
diff options
context:
space:
mode:
authorDan Kalowsky <kalowsky@php.net>2002-03-06 16:14:00 +0000
committerDan Kalowsky <kalowsky@php.net>2002-03-06 16:14:00 +0000
commit160fe54bab5e0f87cef24c39e57aa86439b8cc5f (patch)
tree19fbbf9df89f320cc3e13691c10a179c7e08e8de /ext/posix/posix.c
parentf3d1ae176fef809b469ba446edf299a1e1132ce7 (diff)
downloadphp-git-160fe54bab5e0f87cef24c39e57aa86439b8cc5f.tar.gz
When #if BLAHING a section, ensure to make it's prototype included. Returns
build capability to MacOSX.
Diffstat (limited to 'ext/posix/posix.c')
-rw-r--r--ext/posix/posix.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/posix/posix.c b/ext/posix/posix.c
index eb5391c9c2..81ea571c3a 100644
--- a/ext/posix/posix.c
+++ b/ext/posix/posix.c
@@ -81,8 +81,10 @@ function_entry posix_functions[] = {
/* Non-Posix functions which are common */
#ifdef HAVE_GETPGID
PHP_FE(posix_getpgid, NULL)
-#endif
+#endif /* HAVE_GETPGID */
+#ifdef HAVE_GETSID
PHP_FE(posix_getsid, NULL)
+#endif /* HAVE_GETSID */
/* POSIX.1, 4.4 */
PHP_FE(posix_uname, NULL)