X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fafpd%2Fappl.c;h=d14935bbbb23f75e20f6aa22a13cbd10feb52215;hb=6c1f3cff882955229cb9e0b94eca5e725817633b;hp=dcefdaff142a2ef884d96b1d8d0c9741d7161de0;hpb=31843674b7bd32eabcce3a1ad6159b4f94921f79;p=netatalk.git diff --git a/etc/afpd/appl.c b/etc/afpd/appl.c index dcefdaff..d14935bb 100644 --- a/etc/afpd/appl.c +++ b/etc/afpd/appl.c @@ -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 #include #include #include +#ifdef HAVE_FCNTL_H #include +#endif /* HAVE_FCNTL_H */ +#ifdef HAVE_UNISTD_H #include +#endif /* HAVE_UNISTD_H */ #include #include #include @@ -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 ); } -