You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+ SPDX-License-Identifier: AGPL3.0-or-later
*/
/**
* @file dns/dnsstub.c
*/
#include "platform.h"
#include "gnunet_util_lib.h"
-#include "gnunet_tun_lib.h"
-#include "gnunet_dnsstub_lib.h"
/**
* Timeout for retrying DNS queries.
"Received DNS response from server we never asked (ignored)");
return GNUNET_NO;
}
- if (sizeof (struct GNUNET_TUN_DnsHeader) > r)
+ if (sizeof (struct GNUNET_TUN_DnsHeader) > (size_t) r)
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
_("Received DNS response that is too small (%u bytes)"),