You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.3 KiB

10 years ago
Index: Makefile
--- Makefile.orig 2015-09-30 09:39:45.000000000 +0200
9 years ago
+++ Makefile 2016-11-01 09:22:55.836134502 +0100
10 years ago
@@ -43,7 +43,7 @@
ISO_CHAR_SET = 1
-OPTIMIZEFLAGS = -O3
+OPTIMIZEFLAGS = -O2
DEFINEFLAGS = -DHAVE_DIRENT_H=$(HAVE_DIRENT_H) \
-DHAVE_SYS_DIR_H=$(HAVE_SYS_DIR_H) \
-DHAVE_SYS_NDIR_H=$(HAVE_SYS_NDIR_H) \
Index: checkfil.c
9 years ago
--- checkfil.c.orig 2016-11-01 09:22:55.836134000 +0100
+++ checkfil.c 2016-11-01 09:23:25.426123523 +0100
10 years ago
@@ -10,9 +10,7 @@
#include <ctype.h>
#include <fcntl.h>
#include <sys/types.h>
9 years ago
-#ifdef __APPLE__
- #include <sys/stat.h>
-#endif
+#include <sys/stat.h>
10 years ago
#include <errno.h>
#include "checkfil.h"
Index: newmgrep.c
9 years ago
--- newmgrep.c.orig 2016-11-01 09:22:55.836134000 +0100
+++ newmgrep.c 2016-11-01 09:23:42.656113158 +0100
@@ -16,9 +16,7 @@
10 years ago
#include <sys/types.h>
9 years ago
#endif
-#if defined(_WIN32) || defined(__APPLE__)
- #include <sys/stat.h>
10 years ago
-#endif
9 years ago
+#include <sys/stat.h>
10 years ago
#include "agrep.h"
#include "codepage.h"
Index: recursiv.c
9 years ago
--- recursiv.c.orig 2016-11-01 09:20:45.000000000 +0100
+++ recursiv.c 2016-11-01 09:22:55.836134502 +0100
10 years ago
@@ -21,7 +21,10 @@
#include "autoconf.h" /* ../libtemplate/include */
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <sys/types.h>
+#include <sys/stat.h>
#if ISO_CHAR_SET
#include <locale.h>