From 7d75d20f73b014c6038e18cef612c72cfcc33db6 Mon Sep 17 00:00:00 2001
From: Uwe Schulzweida <uwe.schulzweida@mpimet.mpg.de>
Date: Wed, 8 Apr 2015 09:29:34 +0000
Subject: [PATCH] Vargen.c: include constants.h

---
 src/Vargen.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Vargen.c b/src/Vargen.c
index 86c4a69a1..9f5c50354 100644
--- a/src/Vargen.c
+++ b/src/Vargen.c
@@ -35,6 +35,7 @@
 #include "pstream.h"
 #include "list.h"
 #include "grid.h"
+#include "constants.h"
 #include "stdnametable.h"
 
 
@@ -63,9 +64,8 @@
 #define T_DELTA          (75.0)
 #define SCALEHEIGHT   (10000.0)   /* [m] */
 #define P_ZERO         (1013.25)  /* surface pressure [hPa] */
-#define C_EARTH_GRAV      (9.80665)
-#define C_R             (287.05)  /*  specific gas constant for air */
-static double TMP4PRESSURE = (C_EARTH_GRAV*SCALEHEIGHT)/(C_R*T_ZERO);
+#define CC_R             (287.05)  /* specific gas constant for air */
+static double TMP4PRESSURE = (C_EARTH_GRAV*SCALEHEIGHT)/(CC_R*T_ZERO);
 
 static double
 std_atm_temperatur(double height)
-- 
GitLab