]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Move direct.h header where it is used
authorArne Schwabe <arne@rfc2549.org>
Thu, 22 Apr 2021 15:29:36 +0000 (17:29 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 3 May 2021 06:07:25 +0000 (08:07 +0200)
commit8c18d7c9323084d1b346ea303cf8cfd60d280e56
treec027e52870fae879182c0de171f333b17e3b610b
parent7f600bd39d6e2b034e5a16f65bc639623ff96ae0
Move direct.h header where it is used

The direct.h header provides only a handful of functions [1] of which
we only use _wchdir. Directly included the direct.h file where it is
used and remove autoconf magic around it.

[1]
https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-stud
io-2012/as5kw0ze(v=vs.110)?redirectedfrom=MSDN

Patch V2: also remove from config-msvc.h

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20210422152939.2134046-3-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22202.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
config-msvc.h
configure.ac
src/openvpn/platform.c
src/openvpn/syshead.h