util: add missing #includes

Detected by activating stronger warnings. If include is missing,
prototypes might diverge.

Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
This commit is contained in:
Ralf Ramsauer 2017-03-11 02:46:47 -08:00
parent ac6db12ddb
commit ccc49f16f7
3 changed files with 4 additions and 0 deletions

View file

@ -25,6 +25,7 @@
#include <arpa/inet.h> #include <arpa/inet.h>
#endif #endif
#include "login.h"
#include "md5.h" #include "md5.h"
/* /*

View file

@ -19,6 +19,8 @@
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
#include "read.h"
static int static int
readname_loop(char *packet, int packetlen, char **src, char *dst, size_t length, size_t loop) readname_loop(char *packet, int packetlen, char **src, char *dst, size_t length, size_t loop)
{ {

View file

@ -17,6 +17,7 @@
#include <stdio.h> #include <stdio.h>
#include "common.h" #include "common.h"
#include "util.h"
char * char *
get_resolvconf_addr() get_resolvconf_addr()