Skip to content

Commit 254d636

Browse files
luitjensdanpovey
authored andcommitted
[src] Fix non-cuda make depend build by putting compile guards around header. (#3374)
1 parent 338cc58 commit 254d636

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/cudafeat/feature-mfcc-cuda.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@
1818
#ifndef KALDI_CUDAFEAT_FEATURE_MFCC_CUDA_H_
1919
#define KALDI_CUDAFEAT_FEATURE_MFCC_CUDA_H_
2020

21+
#if HAVE_CUDA == 1
2122
#include <cufft.h>
23+
#endif
24+
2225
#include "cudafeat/feature-window-cuda.h"
2326
#include "cudamatrix/cu-matrix.h"
2427
#include "cudamatrix/cu-vector.h"

0 commit comments

Comments
 (0)