]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/appl.c
commenting changes, more autoconf support in afpd, etc
[netatalk.git] / etc / afpd / appl.c
index dcefdaff142a2ef884d96b1d8d0c9741d7161de0..d14935bbbb23f75e20f6aa22a13cbd10feb52215 100644 (file)
@@ -1,14 +1,24 @@
 /*
+ * $Id: appl.c,v 1.3 2001-06-20 18:33:04 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 /* HAVE_CONFIG_H */
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <ctype.h>
+#ifdef HAVE_FCNTL_H
 #include <fcntl.h>
+#endif /* HAVE_FCNTL_H */
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
+#endif /* HAVE_UNISTD_H */
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/param.h>
@@ -414,7 +424,7 @@ int afp_getappl(obj, ibuf, ibuflen, rbuf, rbuflen )
            len--;
        }
     }
-#endif APPLCNAME
+#endif /* APPLCNAME */
 
     /* fake up a cname */
     cbuf = obj->newtmp;
@@ -449,4 +459,3 @@ int afp_getappl(obj, ibuf, ibuflen, rbuf, rbuflen )
     return( AFP_OK );
 }
 
-