[PATCH 17/25] libnfs: fix compilation warning for inet_tons

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



Signed-off-by: Luis Chamberlain <mcgrof@xxxxxxxxxx>
---
 libnfs.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libnfs.c b/libnfs.c
index 1600701..50f914e 100644
--- a/libnfs.c
+++ b/libnfs.c
@@ -27,6 +27,10 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+
 #define discard_const(ptr) ((void *)((intptr_t)(ptr)))
 
 typedef struct _data_t {
-- 
2.34.1




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux