diff options
author | Tomasz Maciej Nowak | 2018-11-07 19:46:36 +0100 |
---|---|---|
committer | Tomasz Maciej Nowak | 2018-11-07 19:46:36 +0100 |
commit | 772371c9d19f4bab76f86cdcc8697cdae0d7bfee (patch) | |
tree | 99cc1bd24dff27b0690f5b09b351f356525f8f87 /add-missing-includes.patch | |
parent | f7a0f6948dc5232b36f824038f92eb14e1157113 (diff) | |
download | aur-vtuner.apps.tar.gz |
upgpkg: vtuner-client 2.1_gec05cde-5
* simplify makefile
* fix few build warnings
Diffstat (limited to 'add-missing-includes.patch')
-rw-r--r-- | add-missing-includes.patch | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/add-missing-includes.patch b/add-missing-includes.patch new file mode 100644 index 000000000000..fc79ea584b2a --- /dev/null +++ b/add-missing-includes.patch @@ -0,0 +1,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" + |