<p>Max has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/12823">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Add missing include<br><br>socket.h uses INET6_ADDRSTRLEN without including arpa/inet.h where it's<br>defined which might break eternal users of socket.h<br><br>Fix this by adding missing include. The error was introduced in<br>64b51eb68bd272b6b1f2cefa2b33e9dd74024d0c<br><br>Change-Id: I2883addcb81cec038577e401e356e8f07a947d4c<br>---<br>M include/osmocom/core/socket.h<br>1 file changed, 2 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/23/12823/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/core/socket.h b/include/osmocom/core/socket.h</span><br><span>index c183532..496a859 100644</span><br><span>--- a/include/osmocom/core/socket.h</span><br><span>+++ b/include/osmocom/core/socket.h</span><br><span>@@ -11,6 +11,8 @@</span><br><span> #include <stdbool.h></span><br><span> #include <stddef.h></span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+#include <arpa/inet.h></span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> struct sockaddr_in;</span><br><span> struct sockaddr;</span><br><span> struct osmo_fd;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/12823">change 12823</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/12823"/><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: I2883addcb81cec038577e401e356e8f07a947d4c </div>
<div style="display:none"> Gerrit-Change-Number: 12823 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Max <msuraev@sysmocom.de> </div>