aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c
index f23f8c1fa..9cd2190ed 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -22,6 +22,17 @@
#include "../config.h"
+#include <assert.h>
+#include <string.h>
+#include <ctype.h>
+#include <sys/types.h>
+#include <pwd.h>
+#include <fcntl.h>
+
+#ifdef HAVE_IPV6
+#include <sys/socket.h>
+#endif
+
char *myFgets(char *buffer, int bufferSize, FILE * fp)
{
char *ret = fgets(buffer, bufferSize, fp);