Package: gnuift / 0.1.14+ds-1

08_add-missing-headers.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Subject: Add missing headers
Author: David Mosberger <davidm@napali.hpl.hp.com>
Bug-Debian: https://bugs.debian.org/308582

--- a/FeatureExtraction/rgb2hsv_utils.c
+++ b/FeatureExtraction/rgb2hsv_utils.c
@@ -1,4 +1,5 @@
 #include <stdio.h>
+#include <stdlib.h>
 #include <math.h>
 #include "ppm.h"
 
--- a/FeatureExtraction/quantize.c
+++ b/FeatureExtraction/quantize.c
@@ -1,4 +1,5 @@
 #include <math.h>
+#include <stdlib.h>
 #include <ppm.h>
 
 enum ppm_error hsv_quantize_ppm(PPM *im_hsv, PPM **im_quant, int **colmap, int numH, int numS, int numV, int numG) {