typedef socklen_t here if it doesn't exist.

This commit is contained in:
Marcus Sundberg 2000-02-05 15:59:39 +00:00
parent 69cbd2e370
commit 475353c278

View file

@ -104,6 +104,14 @@ void VID_UnlockBuffer (void);
# define vsnprintf _vsnprintf
#endif
#ifndef HAVE_SOCKLEN_T
# ifdef HAVE_SIZE
typedef size_t socklen_t;
# else
typedef unsigned int socklen_t;
# endif
#endif
#define MAX_NUM_ARGVS 50