libosmocore 1.10.0.58-6cd7a
Osmocom core library
socket_compat.h
Go to the documentation of this file.
1#define HAVE_STRUCT_SOCKADDR_STORAGE 1
2
3#if HAVE_STRUCT_SOCKADDR_STORAGE
4 #include <sys/socket.h>
5#else
6struct sockaddr_storage {
7 unsigned short ss_family;
8 char __data[128 - sizeof(unsigned short)];
9};
10#endif