[vlc-devel] [3.0 BP 5/7] smb2: always include arpa/inet.h

Thomas Guillem thomas at gllm.fr
Fri Mar 12 09:55:44 UTC 2021


Since it will be needed by the next commit.

(cherry picked from commit 43424eaada818895f2bf02b2c72175f6444ceb83)
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
---
 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 ed2b7c9b99..d06f1daf76 100644
--- a/modules/access/smb2.c
+++ b/modules/access/smb2.c
@@ -50,10 +50,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