From: Joe Orton Date: Tue, 6 Dec 2005 09:48:19 +0000 (+0000) Subject: * os/unix/unixd.h: Use extern "C" linkage. X-Git-Tag: 2.3.0~2690 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=913e69c609cda20782e2882f8e0868dee10e07a9;p=thirdparty%2Fapache%2Fhttpd.git * 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 --- diff --git a/os/unix/unixd.h b/os/unix/unixd.h index 234c2f0f4f0..d18e9078fc2 100644 --- a/os/unix/unixd.h +++ b/os/unix/unixd.h @@ -48,6 +48,10 @@ #include #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 /** @} */