diff options
author | Manuel Bachmann <manuel.bachmann@iot.bzh> | 2015-12-10 09:36:34 +0100 |
---|---|---|
committer | Manuel Bachmann <manuel.bachmann@iot.bzh> | 2015-12-10 10:06:04 +0100 |
commit | 4db4634b28378379bce04f4073c2a511b92b1ee6 (patch) | |
tree | 7d7113b1229fe3c77c8760daa0d9ee91204547a9 /include | |
parent | accb3215b180f8e386f896ba0368b7188eaa190e (diff) |
Add CMake build files (required by Yocto build process)
We now can use CMake by doing :
$ mkdir build
$ cd build
$ cmake ..
$ make
$ make install
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
Diffstat (limited to 'include')
-rw-r--r-- | include/local-def.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/local-def.h b/include/local-def.h index 5deca987..8fe87d0c 100644 --- a/include/local-def.h +++ b/include/local-def.h @@ -19,7 +19,9 @@ */ -#define _GNU_SOURCE +#ifndef _GNU_SOURCE + #define _GNU_SOURCE +#endif #include <stdio.h> #include <stdlib.h> |