X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Fnfsclient-listservers.c;h=9bec6a75c819c6c8c40057f88ce4f87a094b6447;hb=03aea5e9297e3c6d609aff570c93898a98cbfc00;hp=fbb0e097e2854ad38da572026c0d435e5c48805f;hpb=2e4db0d14597fdb0013fb16f24b3f872d1217397;p=deb_libnfs.git diff --git a/examples/nfsclient-listservers.c b/examples/nfsclient-listservers.c index fbb0e09..9bec6a7 100644 --- a/examples/nfsclient-listservers.c +++ b/examples/nfsclient-listservers.c @@ -19,28 +19,23 @@ */ #include -#include #include -#include -#include -#include -#include -#include -#include -#include -#include +#include "libnfs-zdr.h" #include "libnfs.h" -#include "libnfs-raw.h" -#include "libnfs-raw-mount.h" -#include "libnfs-raw-portmap.h" -#include "libnfs-private.h" +#ifdef AROS +#include "aros_compat.h" +#endif int main(int argc _U_, char *argv[] _U_) { struct nfs_server_list *srvrs; struct nfs_server_list *srv; +#ifdef AROS + aros_init_socket(); +#endif + srvrs = nfs_find_local_servers(); for (srv=srvrs; srv; srv = srv->next) { printf("NFS SERVER @ %s\n", srv->addr);