aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/ncompress/compress42.c
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-02-06 18:45:04 +0100
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-02-06 18:45:04 +0100
commite8b35c4b975a46a5dc5e0c022897359cbfe2d72b (patch)
tree63eefc37ce7964ffbfdc847dabe8e59e5894b540 /test/monniaux/ncompress/compress42.c
parent5ad25465f77c3009eaff7e9a124c254c1e9f33cd (diff)
downloadcompcert-kvx-e8b35c4b975a46a5dc5e0c022897359cbfe2d72b.tar.gz
compcert-kvx-e8b35c4b975a46a5dc5e0c022897359cbfe2d72b.zip
Makefiles now use rules.mk, and added a prohibition of unprototyped functions
Diffstat (limited to 'test/monniaux/ncompress/compress42.c')
-rw-r--r--test/monniaux/ncompress/compress42.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/monniaux/ncompress/compress42.c b/test/monniaux/ncompress/compress42.c
index 681dbbff..36bf0132 100644
--- a/test/monniaux/ncompress/compress42.c
+++ b/test/monniaux/ncompress/compress42.c
@@ -135,6 +135,11 @@
#define INT_MOD(x, y) ((long) (x) % (y))
#include "../clock.h"
+/* DMonniaux for utime and strdup */
+#define UTIME_H
+#define _BSD_SOURCE 1
+#undef __STRICT_ANSI__
+
#ifdef _MSC_VER
# define WINDOWS
#endif