1 /* 2 * includes/defines/declarations which are already done by tin.h 3 * but might be needed if you use plp_snprintf() in other programs 4 */ 5 6 #ifndef PLP_SNPRINTF_H 7 # define PLP_SNPRINTF_H 1 8 9 # ifdef HAVE_CONFIG_H 10 # include "config.h" 11 # endif /* HAVE_CONFIG_H */ 12 # include <sys/types.h> 13 # include <ctype.h> 14 # include <stdlib.h> 15 # ifdef HAVE_STRING_H 16 # include <string.h> 17 # endif /* HAVE_STRING_H */ 18 # ifdef HAVE_STRINGS_H 19 # include <strings.h> 20 # endif /* HAVE_STRINGS_H */ 21 # include <stdio.h> 22 23 /* For testing, define these values */ 24 # ifdef TEST 25 # define HAVE_QUAD_T 1 26 # define HAVE_STDARG_H 1 27 # endif /* TEST */ 28 29 extern int errno; 30 #endif /* PLP_SNPRINTF_H */ 31