\doxysection{socket\+\_\+compat.\+h}
\label{socket__compat_8h_source}\index{include/osmocom/core/socket\_compat.h@{include/osmocom/core/socket\_compat.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 \textcolor{preprocessor}{\#define HAVE\_STRUCT\_SOCKADDR\_STORAGE 1}}
\DoxyCodeLine{2 }
\DoxyCodeLine{3 \textcolor{preprocessor}{\#if HAVE\_STRUCT\_SOCKADDR\_STORAGE}}
\DoxyCodeLine{4 \textcolor{preprocessor}{        \#include <sys/socket.h>}}
\DoxyCodeLine{5 \textcolor{preprocessor}{\#else}}
\DoxyCodeLine{6 \textcolor{keyword}{struct }sockaddr\_storage \{}
\DoxyCodeLine{7         \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{short} ss\_family;}
\DoxyCodeLine{8         \textcolor{keywordtype}{char} \_\_data[128 -\/ \textcolor{keyword}{sizeof}(\textcolor{keywordtype}{unsigned} short)];}
\DoxyCodeLine{9 \};}
\DoxyCodeLine{10 \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
