X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fuams%2Fuams_guest.c;h=7d66706276b9c52392562f1140c47bf2ea007d3b;hb=4b777c7af436135108b2391c6d5a230a5d69e480;hp=f6f53ea3d940fcde59cfee0bfebbd641375e2042;hpb=f4c70982f27d940f0428140a18ac9dbf9cc92ed5;p=netatalk.git diff --git a/etc/uams/uams_guest.c b/etc/uams/uams_guest.c index f6f53ea3..7d667062 100644 --- a/etc/uams/uams_guest.c +++ b/etc/uams/uams_guest.c @@ -1,5 +1,5 @@ /* - * $Id: uams_guest.c,v 1.6 2001-06-27 18:22:20 uhees Exp $ + * $Id: uams_guest.c,v 1.7 2001-09-06 20:00:59 rufustfirefly Exp $ * * (c) 2001 (see COPYING) */ @@ -10,7 +10,22 @@ #include #include + +/* STDC check */ +#if STDC_HEADERS #include +#else /* STDC_HEADERS */ +#ifndef HAVE_STRCHR +#define strchr index +#define strrchr index +#endif /* HAVE_STRCHR */ +char *strchr (), *strrchr (); +#ifndef HAVE_MEMCPY +#define memcpy(d,s,n) bcopy ((s), (d), (n)) +#define memmove(d,s,n) bcopy ((s), (d), (n)) +#endif /* ! HAVE_MEMCPY */ +#endif /* STDC_HEADERS */ + #include #include