ptp2/ptpip.c:697: warning: implicit declaration of function 'inet_aton'

Index: camlibs/ptp2/ptpip.c
--- camlibs/ptp2/ptpip.c.orig
+++ camlibs/ptp2/ptpip.c
@@ -49,6 +49,7 @@
 # include <ws2tcpip.h>
 #else
 # include <sys/socket.h>
+# include <arpa/inet.h>
 # include <netinet/in.h>
 # include <fcntl.h>
 #endif
