components/cyrus-sasl/patches/103-remove-ifdef-sun-gethostname.patch
changeset 5055 9daf220c1a9a
equal deleted inserted replaced
5054:91b97df27c58 5055:9daf220c1a9a
       
     1 Developed in-house at Oracle 
       
     2 ifdef sun for gethostname in saslutil.c is obsolete
       
     3 Intended to go upstream
       
     4 
       
     5 diff -ru old/lib/saslutil.c new/lib/saslutil.c
       
     6 --- old/lib/saslutil.c	2012-10-12 07:05:48.000000000 -0700
       
     7 +++ new/lib/saslutil.c	2014-09-15 17:16:31.437610001 -0700
       
     8 @@ -80,11 +80,6 @@
       
     9   * sasl_erasebuffer
       
    10   */
       
    11  
       
    12 -#ifdef sun
       
    13 -/* gotta define gethostname ourselves on suns */
       
    14 -extern int gethostname(char *, int);
       
    15 -#endif
       
    16 -
       
    17  char *encode_table;
       
    18  char *decode_table;
       
    19