--- keytouch-keyboard/src/check_syntax.c +++ keytouch-keyboard/src/check_syntax.c @@ -29,10 +29,10 @@ You can contact me at: marvinr(at)users(dot)sf(dot)net (replace (at) by @ and (dot) by .) -----------------------------------------------------------------------------------*/ +#define _XOPEN_SOURCE /* strptime */ #include #include #include -#define _XOPEN_SOURCE /* glibc2 needs this */ #include #include --- keytouch-keyboard/src/config.c +++ keytouch-keyboard/src/config.c @@ -37,6 +37,7 @@ You can contact me at: marvinr(at)users(dot)sf(dot)net (replace (at) by @ and (dot) by .) -----------------------------------------------------------------------------------*/ +#define _GNU_SOURCE /* strptime, scandir */ #include #include #include @@ -45,7 +46,6 @@ #include #include #include -#define _GNU_SOURCE /* glibc2 needs this */ #include #include