~ubuntu-branches/ubuntu/vivid/389-ds-base/vivid-proposed

« back to all changes in this revision

Viewing changes to lib/base/dnsdmain.cpp

  • Committer: Package Import Robot
  • Author(s): Benjamin Drung
  • Date: 2014-09-03 15:32:22 UTC
  • Revision ID: package-import@ubuntu.com-20140903153222-f5t5kovnj3wr4s38
Tags: 1.3.2.23-2
* Team upload.
* Add fix-bsd.patch and support-kfreebsd.patch to fix the build failure
  on kFreeBSD.

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
 
71
71
#ifdef XP_UNIX
72
72
NSPR_BEGIN_EXTERN_C
73
 
#ifdef Linux
 
73
#if defined(Linux) || defined(freebsd)
74
74
extern int getdomainname(char *, size_t);
75
75
#else 
76
76
extern int getdomainname(char *, int);
77
77
#endif /* Linux */
78
 
#if defined(HPUX) || defined (UnixWare) || defined(Linux) || defined(IRIX6_5) || defined(SOLARIS_GCC)
 
78
#if defined(HPUX) || defined (UnixWare) || defined(Linux) || defined(IRIX6_5) || defined(SOLARIS_GCC) || defined(freebsd)
79
79
extern int gethostname (char *name, size_t namelen);
80
80
#else
81
81
#ifndef AIX