In fact, socklen_t *is* defined by libc5.
This commit is contained in:
parent
a82a00397f
commit
5cd2a2d53e
@ -36,12 +36,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <features.h>
|
#include <features.h>
|
||||||
/* Stupid libc doesn't have a reliable way for use to know
|
|
||||||
* that libc5 is being used. Assume this is good enough */
|
|
||||||
#if ! defined __GLIBC__ && ! defined __UCLIBC__
|
|
||||||
/* libc5 doesn't define socklen_t */
|
|
||||||
typedef unsigned int socklen_t;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
enum Location {
|
enum Location {
|
||||||
|
@ -36,12 +36,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <features.h>
|
#include <features.h>
|
||||||
/* Stupid libc doesn't have a reliable way for use to know
|
|
||||||
* that libc5 is being used. Assume this is good enough */
|
|
||||||
#if ! defined __GLIBC__ && ! defined __UCLIBC__
|
|
||||||
/* libc5 doesn't define socklen_t */
|
|
||||||
typedef unsigned int socklen_t;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
enum Location {
|
enum Location {
|
||||||
|
Loading…
Reference in New Issue
Block a user