Include limits.h for FBSD

Needed to pick up INT_MAX in the KERNEL case, for stopping the
XDR madness, among other things.

Change-Id: Ibcf2681b450f6a3603418991951f5144ab677d28
Reviewed-on: http://gerrit.openafs.org/1674
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Ben Kaduk 2010-03-30 23:35:13 -04:00 committed by Derrick Brashear
parent 6a261db9a6
commit ef2604e453

View File

@ -230,6 +230,10 @@ typedef unsigned short etap_event_t;
# include "h/socketvar.h" # include "h/socketvar.h"
# include "h/protosw.h" # include "h/protosw.h"
# if defined(AFS_FBSD_ENV)
# include "limits.h"
# endif
# if defined(AFS_SGI_ENV) || defined(AFS_HPUX_ENV) || defined(AFS_SUN5_ENV) || defined(AFS_FBSD_ENV) # if defined(AFS_SGI_ENV) || defined(AFS_HPUX_ENV) || defined(AFS_SUN5_ENV) || defined(AFS_FBSD_ENV)
# include "h/dirent.h" # include "h/dirent.h"
# ifdef AFS_SUN5_ENV # ifdef AFS_SUN5_ENV