[Lldb-commits] [lldb] r191386 - arpa/inet.h is the canonical source of htons and friends.
Joerg Sonnenberger
joerg at bec.de
Wed Sep 25 10:53:34 PDT 2013
Author: joerg
Date: Wed Sep 25 12:53:34 2013
New Revision: 191386
URL: http://llvm.org/viewvc/llvm-project?rev=191386&view=rev
Log:
arpa/inet.h is the canonical source of htons and friends.
At least on NetBSD, none of the already included headers pulls it in.
Modified:
lldb/trunk/source/Host/common/SocketAddress.cpp
Modified: lldb/trunk/source/Host/common/SocketAddress.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/SocketAddress.cpp?rev=191386&r1=191385&r2=191386&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/SocketAddress.cpp (original)
+++ lldb/trunk/source/Host/common/SocketAddress.cpp Wed Sep 25 12:53:34 2013
@@ -11,6 +11,7 @@
#include <stddef.h>
// C Includes
+#include <arpa/inet.h>
#include <assert.h>
#include <string.h>
More information about the lldb-commits
mailing list