History

Check for <sys/times.h> and use that in src-evaluate.c.

Erik de Castro Lopo committed 22 years ago

Commit 850e9c31 parent 420c1432 files · +5 −5Browse files

Unified · Split

2 files
  1. configure.ac +1 −1
  2. tests/src-evaluate.c +4 −4
configure.ac+1−1
@@ -37,7 +37,7 @@ AM_PROG_LIBTOOL · 36 unmodified lines
3737
3838 AC_HEADER_STDC
3939
40−AC_CHECK_HEADERS(stdint.h)
40+AC_CHECK_HEADERS(stdint.h sys/times.h)
4141
4242 #====================================================================================
4343 # Couple of initializations here. Fill in real values later.
tests/src-evaluate.c+4−4
@@ -22,12 +22,12 @@ · 21 unmodified lines
2222 #include <string.h>
2323 #include <ctype.h>
2424
25−#include <time.h>
26−#include <sys/times.h>
27−
2825 #include "config.h"
2926
30−#if (HAVE_FFTW3 && HAVE_SNDFILE)
27+#if (HAVE_FFTW3 && HAVE_SNDFILE && HAVE_SYS_TIMES_H)
28+
29+#include <time.h>
30+#include <sys/times.h>
3131
3232 #include <sndfile.h>
3333 #include <math.h>

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t