diff options
author | Joe Orton <jorton@apache.org> | 2005-12-06 09:48:19 +0000 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2005-12-06 09:48:19 +0000 |
commit | 913e69c609cda20782e2882f8e0868dee10e07a9 (patch) | |
tree | ff3f82baaf8c7f07ff6ed4c7f77d8fda7cc0a5e9 | |
parent | 12164497e957a7e490cbe560e8e47576fd4faaf1 (diff) | |
download | httpd-913e69c609cda20782e2882f8e0868dee10e07a9.tar.gz |
* os/unix/unixd.h: Use extern "C" linkage.
PR: 37357
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@354389 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | os/unix/unixd.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/os/unix/unixd.h b/os/unix/unixd.h index 234c2f0f4f..d18e9078fc 100644 --- a/os/unix/unixd.h +++ b/os/unix/unixd.h @@ -48,6 +48,10 @@ #include <sys/ipc.h> #endif +#ifdef __cplusplus +extern "C" { +#endif + typedef struct { uid_t uid; gid_t gid; @@ -113,5 +117,9 @@ AP_INIT_TAKE1("User", unixd_set_user, NULL, RSRC_CONF, \ AP_INIT_TAKE1("Group", unixd_set_group, NULL, RSRC_CONF, \ "Effective group id for this server") +#ifdef __cplusplus +} +#endif + #endif /** @} */ |