Include relative to file

This allows the header files to be installed, say in /usr/include/soem
and then included with:

    #include <soem/ethercattype.h>

without having to add -I/usr/include/soem.

Signed-off-by: Shahbaz Youssefi <syoussefi@kinova.ca>
pull/24/head
Shahbaz Youssefi 2015-12-18 09:38:09 -05:00
parent 1654afc75f
commit 5c2955139e
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
#ifndef _osal_
#define _osal_
#include <osal_defs.h>
#include "osal_defs.h"
#include <stdint.h>
/* General types */

View File

@ -66,7 +66,7 @@ extern "C"
* comment if application uses only ecx_ functions and own context */
#define EC_VER1
#include <osal.h>
#include "osal.h"
/** return value general error */
#define EC_ERROR -3