X-Git-Url: http://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Fconfig%2Fstds.h;h=90f966152efb52550fca7b5fa78ae2316c72956c;hp=d7358c5566babff2f49978e16cade656fc1810a7;hb=8aa5328bd539f88d4e090959e5bd95a19992bcff;hpb=48d3ec164bf76708c10d817e7601105cc2798153 diff --git a/src/config/stds.h b/src/config/stds.h index d7358c5..90f9661 100644 --- a/src/config/stds.h +++ b/src/config/stds.h @@ -7,6 +7,12 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +/* + * Do not put anything in this file that relies on Autoconf defines, since + * we're not guaranteed to have included afsconfig.h before this header file. + * This is an installed header file, and afsconfig.h is not. + */ + #ifndef OPENAFS_AFS_CONFIG_STDS_H #define OPENAFS_AFS_CONFIG_STDS_H 1 @@ -51,18 +57,6 @@ pragma Off(Prototype_override_warnings); #define MIN_AFS_INT64 (-MAX_AFS_INT64 - 1) #define MAX_AFS_UINT64 0xFFFFFFFFFFFFFFFFL -#ifndef HAVE_SSIZE_T -typedef int ssize_t; -#endif - -#ifndef HAVE_SIG_ATOMIC_T -typedef int sig_atomic_t; -#endif - -#ifndef HAVE_SOCKLEN_T -typedef int socklen_t; -#endif - typedef short afs_int16; typedef unsigned short afs_uint16; #ifdef AFS_64BIT_ENV