blob: fc79ea584b2a003378a150b9693c991f0b2b4203 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
--- a/vtuner-dvb-3.c
+++ b/vtuner-dvb-3.c
@@ -1,9 +1,11 @@
#include <stdio.h>
#include <stdlib.h>
#include <sys/ioctl.h>
+#include <sys/types.h>
#include <fcntl.h>
#include <string.h>
#include <poll.h>
+#include <unistd.h>
#include "vtuner-dvb-3.h"
--- a/vtuner-network.c
+++ b/vtuner-network.c
@@ -1,6 +1,9 @@
#include "vtuner-network.h"
#include <string.h>
#include <stdio.h>
+#include <sys/types.h>
+#include <unistd.h>
+#include <arpa/inet.h>
#define NTOHB(host,net,field) host->field=net.field
#define NTOHS(host,net,field) host->field=ntohs(net.field)
--- a/vtunerc.c
+++ b/vtunerc.c
@@ -16,6 +16,7 @@
#include <linux/dvb/version.h>
#include <time.h>
#include <sys/param.h>
+#include <pthread.h>
#include "vtuner-network.h"
--- a/vtunerd-service.c
+++ b/vtunerd-service.c
@@ -10,6 +10,10 @@
#include <netinet/tcp.h>
#include <signal.h>
#include <time.h>
+#include <sys/types.h>
+#include <unistd.h>
+#include <pthread.h>
+#include <arpa/inet.h>
#include "vtunerd-service.h"
|