Skip to content

Commit c35333a

Browse files
Fix missing header requirement
1 parent cb6e54f commit c35333a

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

bootstrap/bootstrap.gaussianblur.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
PREFIX="gaussian_blur"
77
TEMP_EXTERNAL_BUILD_DIR=.deps
8-
GAUSSIANBLUR_VERSION="1.0.3"
8+
GAUSSIANBLUR_VERSION="1.0.4"
99
GAUSSIANBLUR_FOLDER="v${GAUSSIANBLUR_VERSION}"
1010
GAUSSIANBLUR_BUILD_DIR="${PREFIX}-${GAUSSIANBLUR_FOLDER}"
1111

include/gaussianblur/helpers.hpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
#include <thread>
88
#include <vector>
99
extern "C" {
10-
#include "pffft_pommier/pffft.h"
10+
// Forward declaration of PFFFT_Setup
11+
struct PFFFT_Setup;
12+
13+
// Declaration of pffft_destroy_setup function
14+
void pffft_destroy_setup(PFFFT_Setup *);
1115
}
1216

1317
#define L2_CACHE_SIZE (16 * 1024 * 1024)
@@ -106,6 +110,7 @@ typedef struct {
106110
int cols;
107111
} TrailingZeros;
108112

113+
// Custom deleter for PFFFT_Setup
109114
struct PFFFT_Deleter {
110115
void operator()(PFFFT_Setup *setup) const {
111116
if (setup) {

src/gaussianblur.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11

22
#include <gaussianblur/gaussianblur.h>
3-
43
#include <gaussianblur/helpers.hpp>
4+
#include <numbers>
55
extern "C" {
6-
#include <pffft_pommier/pffft.h>
6+
#include <pffft_pommier/pffft.h>
77
}
8-
#include <numbers>
98

109
namespace gaussianblur {
1110

0 commit comments

Comments
 (0)