blob: 4389125fda6c6bef04ac1dcd8fcbe33d5e9d6e7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
diff -ru hplip-3.16.10.orig/protocol/discovery/mdns.c hplip-3.16.10/protocol/discovery/mdns.c
--- hplip-3.16.10.orig/protocol/discovery/mdns.c 2016-10-21 13:48:34.000000000 +0300
+++ hplip-3.16.10/protocol/discovery/mdns.c 2016-11-03 14:41:38.828298853 +0200
@@ -24,10 +24,15 @@
Author: Sanjay Kumar
\*****************************************************************************/
-//#include <stdio.h>
+#include <stdio.h>
+#include <ctype.h>
+#include <fcntl.h>
+#include <unistd.h>
#include <string.h>
#include <syslog.h>
+#include <malloc.h>
#include <sys/socket.h>
+#include <sys/select.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
|