[vlc-commits] smb2: always include arpa/inet.h
Thomas Guillem
git at videolan.org
Mon Mar 15 10:05:16 UTC 2021
vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Mar 2 15:33:54 2021 +0100| [a6ec6bef8a31f35d4a62ccffdf15530abb03674c] | committer: Thomas Guillem
smb2: always include arpa/inet.h
Since it will be needed by the next commit.
(cherry picked from commit 43424eaada818895f2bf02b2c72175f6444ceb83)
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=a6ec6bef8a31f35d4a62ccffdf15530abb03674c
---
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"
More information about the vlc-commits
mailing list