SHA256
1
0
forked from pool/tomoyo-tools
tomoyo-tools/tomoyo-clone.patch

41 lines
1.2 KiB
Diff

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 <stdio.h>
#include <string.h>
#include <stdlib.h>
@@ -29,7 +30,6 @@
#include <sys/file.h>
#include <syslog.h>
#include <time.h>
-#define _GNU_SOURCE
#include <sched.h>
#include <sys/mount.h>
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 <stdio.h>
#include <string.h>
#include <stdlib.h>
@@ -33,7 +34,6 @@
#include <poll.h>
#include <signal.h>
#include <dirent.h>
-#define _GNU_SOURCE
#include <sched.h>
#include <sys/mount.h>