summaryrefslogtreecommitdiff
path: root/audio/mhwaveedit/files/patch-src::viewcache.c
blob: a45dc8675c675edd766d3b7823a34ced05096284 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- src/viewcache.c.orig	Wed Jun  4 15:23:06 2003
+++ src/viewcache.c	Wed Jun  4 15:23:45 2003
@@ -24,6 +24,11 @@
 #include "inifile.h"
 #include "main.h"
 
+#ifndef HAVE_CEILL
+#  define ceill(x) ceil((double)(x))
+#  define HAVE_CEILL
+#endif
+
 /* How many columns to update (max) for each call to view_cache_update */
 #define PIXELS_PER_UPDATE 10
 #define GUINT32(x) ((guint32)x)