summaryrefslogtreecommitdiffstats
path: root/lib/base
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2005-05-10 23:17:04 +0000
committerRob Crittenden <rcritten@redhat.com>2005-05-10 23:17:04 +0000
commitb03fcfc5fb3fa876b7ef4be45d90868b8f6e6def (patch)
treee082ba7d6108634404e6702994eab622cf4ca39e /lib/base
parentb95f9a9277761ecdd25b48314efd1e3797dc3b13 (diff)
downloadds-b03fcfc5fb3fa876b7ef4be45d90868b8f6e6def.tar.gz
ds-b03fcfc5fb3fa876b7ef4be45d90868b8f6e6def.tar.xz
ds-b03fcfc5fb3fa876b7ef4be45d90868b8f6e6def.zip
Changes so DS can be built with gcc on Solaris.
Pass these build variables to gmake: NO_MDUPDATE=1 NS_USE_GCC=1
Diffstat (limited to 'lib/base')
-rw-r--r--lib/base/dnsdmain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base/dnsdmain.cpp b/lib/base/dnsdmain.cpp
index c974c2da..8a2ba133 100644
--- a/lib/base/dnsdmain.cpp
+++ b/lib/base/dnsdmain.cpp
@@ -70,7 +70,7 @@ extern int getdomainname(char *, size_t);
#else
extern int getdomainname(char *, int);
#endif /* Linux */
-#if defined(HPUX) || defined (UnixWare) || defined(Linux) || defined(IRIX6_5)
+#if defined(HPUX) || defined (UnixWare) || defined(Linux) || defined(IRIX6_5) || defined(SOLARIS_GCC)
extern int gethostname (char *name, size_t namelen);
#else
#ifndef AIX