Browse Source

Get gethostname prototype

Samuel Thibault 12 years ago
parent
commit
5a97bc0168
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/common/utils.c

+ 1 - 0
src/common/utils.c

@@ -20,6 +20,7 @@
 #include <common/utils.h>
 #include <libgen.h>
 #include <errno.h>
+#include <unistd.h>
 
 #ifdef __MINGW32__
 #include <io.h>