Explorar el Código

Get gethostname prototype

Samuel Thibault hace 12 años
padre
commit
5a97bc0168
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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>