summaryrefslogtreecommitdiff
path: root/ace/OS.i
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2000-01-08 15:46:23 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2000-01-08 15:46:23 +0000
commit2a80055f373159bf62db8ec675f3c6c569e9d0f8 (patch)
tree9faea48296d1bd63cb3b551cd265a9607c1b4e9a /ace/OS.i
parentadc30fa403cc76a084422f5b7e2aab2450e871ec (diff)
downloadATCD-2a80055f373159bf62db8ec675f3c6c569e9d0f8.tar.gz
ChangeLogTag:Sat Jan 8 09:44:51 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Diffstat (limited to 'ace/OS.i')
-rw-r--r--ace/OS.i4
1 files changed, 4 insertions, 0 deletions
diff --git a/ace/OS.i b/ace/OS.i
index 02ece9eec25..416ba8b5c74 100644
--- a/ace/OS.i
+++ b/ace/OS.i
@@ -50,11 +50,15 @@ typedef const char *ACE_SOCKOPT_TYPE1;
#endif /* ACE_HAS_VOIDPTR_SOCKOPT */
#if defined (ACE_LACKS_SETREUID_PROTOTYPE)
+extern "C" {
extern int setreuid (uid_t ruid, uid_t euid);
+}
#endif /* ACE_LACKS_SETREUID_PROTOTYPE */
#if defined (ACE_LACKS_SETREGID_PROTOTYPE)
+extern "C" {
extern int setregid (gid_t rgid, gid_t egid);
+}
#endif /* ACE_LACKS_SETREGID_PROTOTYPE */
#if defined (ACE_LACKS_WRITEV)