Skip to content

Commit

Permalink
Include relative to file
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Shahbaz Youssefi committed Dec 18, 2015
1 parent 1654afc commit 5c29551
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion osal/osal.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#ifndef _osal_
#define _osal_

#include <osal_defs.h>
#include "osal_defs.h"
#include <stdint.h>

/* General types */
Expand Down
2 changes: 1 addition & 1 deletion soem/ethercattype.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5c29551

Please sign in to comment.