summaryrefslogtreecommitdiff
path: root/extra/labplot/define-missing-constant.patch
blob: f612112790843cf8fc74707c20a39404e62cb72b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/constants.h b/src/constants.h
index 77d76bf..1bada49 100644
--- a/src/constants.h
+++ b/src/constants.h
@@ -17,6 +17,10 @@
 #endif
 #endif
 
+#ifndef GSL_CONST_CGSM_GAUSS
+#define GSL_CONST_CGSM_GAUSS (1e0) /* g / abamp s^2 */
+#endif
+
 #ifdef HAVE_R
 #include <R.h>
 #include <Rmath.h>