Browse code

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 <selva.nair@gmail.com>
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 <gert@greenie.muc.de>

Simon Rozman authored on 2017/10/12 19:34:48
Showing 1 changed files
... ...
@@ -21,8 +21,9 @@
21 21
  *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 22
  */
23 23
 
24
-#include <service.h>
25
-#include <validate.h>
24
+#include "service.h"
25
+#include "validate.h"
26
+
26 27
 /*
27 28
  * These are necessary due to certain buggy implementations of (v)snprintf,
28 29
  * that don't guarantee null termination for size > 0.