[vlc-commits] smb2: always include arpa/inet.h

Thomas Guillem git at videolan.org
Fri Mar 12 09:40:36 UTC 2021


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Mar  2 15:33:54 2021 +0100| [43424eaada818895f2bf02b2c72175f6444ceb83] | committer: Thomas Guillem

smb2: always include arpa/inet.h

Since it will be needed by the next commit.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=43424eaada818895f2bf02b2c72175f6444ceb83
---

 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 d45a573e8a..384d393479 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"



More information about the vlc-commits mailing list