Index: tomoyo-tools/usr_lib_tomoyo/tomoyo-notifyd.c =================================================================== --- tomoyo-tools.orig/usr_lib_tomoyo/tomoyo-notifyd.c +++ tomoyo-tools/usr_lib_tomoyo/tomoyo-notifyd.c @@ -20,6 +20,7 @@ * this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ +#define _GNU_SOURCE #include #include #include @@ -29,7 +30,6 @@ #include #include #include -#define _GNU_SOURCE #include #include Index: tomoyo-tools/usr_lib_tomoyo/tomoyo-editpolicy-agent.c =================================================================== --- tomoyo-tools.orig/usr_lib_tomoyo/tomoyo-editpolicy-agent.c +++ tomoyo-tools/usr_lib_tomoyo/tomoyo-editpolicy-agent.c @@ -20,6 +20,7 @@ * this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ +#define _GNU_SOURCE #include #include #include @@ -33,7 +34,6 @@ #include #include #include -#define _GNU_SOURCE #include #include