<p>Neels Hofmeyr has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/13140">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">NOT FOR MERGE: test ip_port.c tweaks on ARM<br><br>Change-Id: I64e372d73d48641494838feddf2b7ba2189ed7f8<br>---<br>M configure.ac<br>M include/osmocom/core/ip_port.h<br>M src/ip_port.c<br>3 files changed, 1 insertion(+), 11 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/40/13140/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/configure.ac b/configure.ac</span><br><span>index d717a0b..4a00e69 100644</span><br><span>--- a/configure.ac</span><br><span>+++ b/configure.ac</span><br><span>@@ -57,7 +57,7 @@</span><br><span> </span><br><span> dnl checks for header files</span><br><span> AC_HEADER_STDC</span><br><span style="color: hsl(0, 100%, 40%);">-AC_CHECK_HEADERS(execinfo.h sys/select.h sys/socket.h sys/timerfd.h syslog.h ctype.h netinet/tcp.h netinet/in.h)</span><br><span style="color: hsl(120, 100%, 40%);">+AC_CHECK_HEADERS(execinfo.h sys/select.h sys/socket.h sys/timerfd.h syslog.h ctype.h netinet/tcp.h)</span><br><span> # for src/conv.c</span><br><span> AC_FUNC_ALLOCA</span><br><span> AC_SEARCH_LIBS([dlopen], [dl dld], [LIBRARY_DLOPEN="$LIBS";LIBS=""])</span><br><span>diff --git a/include/osmocom/core/ip_port.h b/include/osmocom/core/ip_port.h</span><br><span>index a1ae0ca..068e94a 100644</span><br><span>--- a/include/osmocom/core/ip_port.h</span><br><span>+++ b/include/osmocom/core/ip_port.h</span><br><span>@@ -32,12 +32,6 @@</span><br><span> #include <stdbool.h></span><br><span> #include <arpa/inet.h></span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-struct in_addr;</span><br><span style="color: hsl(0, 100%, 40%);">-struct in6_addr;</span><br><span style="color: hsl(0, 100%, 40%);">-struct sockaddr_storage;</span><br><span style="color: hsl(0, 100%, 40%);">-struct sockaddr_in;</span><br><span style="color: hsl(0, 100%, 40%);">-struct sockaddr_in6;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span> /*! \defgroup ip_port  IP address/port utilities.</span><br><span>  * @{</span><br><span>  * \file ip_port.h</span><br><span>diff --git a/src/ip_port.c b/src/ip_port.c</span><br><span>index 0f0e39a..dd977ec 100644</span><br><span>--- a/src/ip_port.c</span><br><span>+++ b/src/ip_port.c</span><br><span>@@ -26,9 +26,6 @@</span><br><span>  *</span><br><span>  */</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-#include "config.h"</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#ifdef HAVE_NETINET_IN_H</span><br><span> #include <string.h></span><br><span> #include <errno.h></span><br><span> #include <netinet/in.h></span><br><span>@@ -375,4 +372,3 @@</span><br><span> }</span><br><span> </span><br><span> /*! @} */</span><br><span style="color: hsl(0, 100%, 40%);">-#endif // HAVE_NETINET_IN_H</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/13140">change 13140</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/13140"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I64e372d73d48641494838feddf2b7ba2189ed7f8 </div>
<div style="display:none"> Gerrit-Change-Number: 13140 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>