1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

fix compiler warnings

* src/utils.h: Include <stdlib.h>
* src/recur.c: Include "exits.h"
This commit is contained in:
Giuseppe Scrivano 2015-07-20 15:37:52 +02:00
parent 4c3043d19d
commit 9e12b8ca39
2 changed files with 3 additions and 0 deletions

View File

@ -50,6 +50,7 @@ as that of the covered work. */
#include "html-url.h" #include "html-url.h"
#include "css-url.h" #include "css-url.h"
#include "spider.h" #include "spider.h"
#include "exits.h"
/* Functions for maintaining the URL queue. */ /* Functions for maintaining the URL queue. */

View File

@ -32,6 +32,8 @@ as that of the covered work. */
#ifndef UTILS_H #ifndef UTILS_H
#define UTILS_H #define UTILS_H
# include <stdlib.h>
/* Constant is using when we don`t know attempted size exactly */ /* Constant is using when we don`t know attempted size exactly */
#define UNKNOWN_ATTEMPTED_SIZE -3 #define UNKNOWN_ATTEMPTED_SIZE -3