compile-snprintf-for-solaris25-20010430

so this will still build for solaris 2.5.1, build our snprintf
This commit is contained in:
Mark Dapoz 2001-04-30 23:15:50 +00:00 committed by Derrick Brashear
parent f9a46bee19
commit 17c2d284cb

View File

@ -1,14 +1,14 @@
/* snprintf.c - Formatted, length-limited print to a string */
#include <afs/param.h>
#if defined(AFS_OSF20_ENV) && !defined(AFS_DUX50_ENV) || defined(AFS_AIX32_ENV)
#if defined(AFS_OSF20_ENV) && !defined(AFS_DUX50_ENV) || defined(AFS_AIX32_ENV) || (defined(AFS_SUN55_ENV) && !defined(AFS_SUN56_ENV))
#include <sys/types.h>
#include <stdarg.h>
#include <stdio.h>
#include <ctype.h>
#include <netinet/in.h>
#include <netdb.h>
#if defined(AFS_AIX32_ENV)
#if defined(AFS_AIX32_ENV) || defined(AFS_SUN55_ENV)
#include <sys/socket.h>
#endif