[vlc-devel] [PATCH 5/6] smb2: always include arpa/inet.h

Thomas Guillem thomas at gllm.fr
Tue Mar 2 14:52:24 UTC 2021


Since it will be needed by the next commit.
---
 modules/access/smb2.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/access/smb2.c b/modules/access/smb2.c
index d45a573e8a3..384d393479e 100644
--- a/modules/access/smb2.c
+++ b/modules/access/smb2.c
@@ -51,10 +51,10 @@
 #ifdef HAVE_DSM
 # include <bdsm/netbios_ns.h>
 # include <bdsm/netbios_defs.h>
+#endif
 
-# ifdef HAVE_ARPA_INET_H
-#  include <arpa/inet.h>
-# endif
+#ifdef HAVE_ARPA_INET_H
+# include <arpa/inet.h>
 #endif
 
 #include "smb_common.h"
-- 
2.30.0



More information about the vlc-devel mailing list