libosmocore  1.10.0.13-ddc5.202410052026
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
6 struct sockaddr_storage {
7  unsigned short ss_family;
8  char __data[128 - sizeof(unsigned short)];
9 };
10 #endif