diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2016-01-04 21:19:07 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2016-01-04 21:19:07 +0100 |
commit | 5aa19525320fa10f6de202e8de4c3a3e67f7d426 (patch) | |
tree | d83c7d7e53602f4ae9e9fac1e9b927112e025593 /src | |
parent | m (diff) | |
download | libred-5aa19525320fa10f6de202e8de4c3a3e67f7d426.tar.gz libred-5aa19525320fa10f6de202e8de4c3a3e67f7d426.tar.bz2 libred-5aa19525320fa10f6de202e8de4c3a3e67f7d426.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r-- | src/blackbody.c | 1 | ||||
-rw-r--r-- | src/libred.h | 4 | ||||
-rw-r--r-- | src/parse_10deg.c | 3 | ||||
-rw-r--r-- | src/solar.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/blackbody.c b/src/blackbody.c index 7884f2f..1fb3689 100644 --- a/src/blackbody.c +++ b/src/blackbody.c @@ -18,6 +18,7 @@ #include "macros.h" #include <math.h> #include <errno.h> +#include <fcntl.h> diff --git a/src/libred.h b/src/libred.h index 98011cb..83554e8 100644 --- a/src/libred.h +++ b/src/libred.h @@ -102,11 +102,7 @@ double libred_solar_elevation(double latitude, double longitude); * * @return 0 on success, -1 on error. */ -#if defined(TIMETRAVELLER) int libred_check_timetravel(void); -#else -# define libred_check_timetravel() 0 -#endif diff --git a/src/parse_10deg.c b/src/parse_10deg.c index ef1c3d5..621e55e 100644 --- a/src/parse_10deg.c +++ b/src/parse_10deg.c @@ -14,8 +14,9 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "blackbody.h" +#include "libred.h" #include "macros.h" +#include <math.h> #include <sys/stat.h> diff --git a/src/solar.c b/src/solar.c index 697ecd6..eb06ae7 100644 --- a/src/solar.c +++ b/src/solar.c @@ -20,6 +20,8 @@ #include <math.h> #include <time.h> #include <errno.h> +#include <stdio.h> +#include <stdlib.h> |