Ignore:
Timestamp:
Jul 1, 2005, 6:36:50 AM (20 years ago)
Author:
bird
Message:

More libc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libctests/glibc/nss/test-netdb.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2136 r2137  
    3232
    3333#include <netdb.h>
     34#ifdef HAVE_RPC_NETDB_H
    3435#include <rpc/netdb.h>
     36#endif
    3537#include <stdio.h>
    3638#include <stdlib.h>
     
    302304
    303305
     306#ifdef HAVE_RPC_NETDB_H
    304307static void
    305308output_rpcent (const char *call, struct rpcent *rptr)
     
    338341  endrpcent ();
    339342}
    340 
     343#endif
     344
     345#if 0  /* not very useful when you don't have this function... */
    341346/* Override /etc/nsswitch.conf for this program.  This is mainly
    342347   useful for developers. */
     
    356361  __nss_configure_lookup ("services", dbname);
    357362}
    358 
     363#endif
    359364
    360365int
     
    368373  test_network ();
    369374  test_protocols ();
     375#ifdef HAVE_RPC_NETDB_H
    370376  test_rpc ();
     377#endif
    371378  test_services ();
    372379
Note: See TracChangeset for help on using the changeset viewer.