]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/nbp/nbp_rgstr.c
massive commenting/autoconf changes
[netatalk.git] / libatalk / nbp / nbp_rgstr.c
index c1f927d4a8c0a9ed06485c63c59a3feb5f0d662b..5fa024925491a138431eb7a579f6535502f4b3af 100644 (file)
@@ -1,11 +1,13 @@
 /*
+ * $Id: nbp_rgstr.c,v 1.3 2001-06-29 14:14:46 rufustfirefly Exp $
+ *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved. See COPYRIGHT.
  */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
-#endif
+#endif /* HAVE_CONFIG_H */
 
 #include <string.h>
 #include <sys/types.h>
 #include <atalk/ddp.h>
 #include <atalk/netddp.h>
 
+#ifdef HAVE_NETDB_H
 #include <netdb.h>
+#endif /* HAVE_NETDB_H */
 #include  "nbp_conf.h"
 
 /* FIXME/SOCKLEN_T: socklen_t is a unix98 feature. */
 #ifndef SOCKLEN_T
 #define SOCKLEN_T unsigned int
-#endif
+#endif /* ! SOCKLEN_T */
 
 int nbp_rgstr( sat, obj, type, zone )
     struct sockaddr_at *sat;