X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Futil%2Fsnprintf.c;h=75b85e74b5ea35144750c875131f034515604f97;hp=bad26992248fa293bd828ceea78419ba095c1166;hb=bc5204d4e79198501608be68434106c7be119d67;hpb=f918914d50a051446390e70eda732768e1151cff diff --git a/src/util/snprintf.c b/src/util/snprintf.c index bad2699..75b85e7 100644 --- a/src/util/snprintf.c +++ b/src/util/snprintf.c @@ -1,5 +1,8 @@ /* snprintf.c - Formatted, length-limited print to a string */ +#include +#if defined(AFS_OSF20_ENV) && !defined(AFS_DUX50_ENV) || defined(AFS_AIX32_ENV) + #include #include #include @@ -381,3 +384,4 @@ void snprintf(char *p, unsigned int avail, char *fmt, ...) vsnprintf(p, avail, fmt, ap); va_end(ap); } +#endif /* AFS_OSF20_ENV || AFS_AIX32_ENV */