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
37 37
38AC_HEADER_STDC38AC_HEADER_STDC
39 39
40AC_CHECK_HEADERS(stdint.h)40AC_CHECK_HEADERS(stdint.h sys/times.h)
41 41
42#====================================================================================42#====================================================================================
43# Couple of initializations here. Fill in real values later.43# Couple of initializations here. Fill in real values later.
tests/src-evaluate.c+4−4
@@ -22,12 +22,12 @@ · 21 unmodified lines
22#include <string.h>22#include <string.h>
23#include <ctype.h>23#include <ctype.h>
24 24
25#include <time.h>
26#include <sys/times.h>
27
28#include "config.h"25#include "config.h"
29 26
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>
31 31
32#include <sndfile.h>32#include <sndfile.h>
33#include <math.h>33#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