]> granicus.if.org Git - php/commitdiff
When #if BLAHING a section, ensure to make it's prototype included. Returns
authorDan Kalowsky <kalowsky@php.net>
Wed, 6 Mar 2002 16:14:00 +0000 (16:14 +0000)
committerDan Kalowsky <kalowsky@php.net>
Wed, 6 Mar 2002 16:14:00 +0000 (16:14 +0000)
build capability to MacOSX.

ext/posix/posix.c

index eb5391c9c2544a3a35b587221f99354faf7a07a1..81ea571c3ae4e5fa2ea170cf2454606b9d2c4320 100644 (file)
@@ -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)