From: Simon Rozman Date: Thu, 12 Oct 2017 10:34:48 +0000 (+0200) Subject: Fix local #include to use quoted form X-Git-Tag: v2.4.5~55 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c6af7006219ec03ece4545355251e79b47d56e8c;p=thirdparty%2Fopenvpn.git Fix local #include to use quoted form .h include files from the same folder or addressed relatively to the same folder should be #included using quoted form in MSVC. The angled form is reserved for include files from folders specified using /I path. Using angled form, MSVC fails to locate local #include file, unless current folder is added to the include search path: /I . Acked-by: Selva Nair Message-Id: <20171012103448.7632-1-simon@rozman.si> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg15622.html Signed-off-by: Gert Doering (cherry picked from commit d2a7415f265aea5e0f04d80e48af506e153ba0f4) --- diff --git a/src/openvpnserv/common.c b/src/openvpnserv/common.c index 0c9098fe3..e77d7ab74 100644 --- a/src/openvpnserv/common.c +++ b/src/openvpnserv/common.c @@ -21,8 +21,9 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include -#include +#include "service.h" +#include "validate.h" + /* * These are necessary due to certain buggy implementations of (v)snprintf, * that don't guarantee null termination for size > 0.