mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-27 01:11:33 +02:00
63 lines
1.5 KiB
Diff
63 lines
1.5 KiB
Diff
Author: Luciano Bello <luciano@linux.org.ar>
|
|
Description: aviod the "implicit declaration of function 'ntohs'" warning
|
|
--- a/decode_aim.c 2011-06-19 17:13:50.503999391 -0500
|
|
+++ b/decode_aim.c 2011-06-19 17:15:27.267999371 -0500
|
|
@@ -14,6 +14,7 @@
|
|
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
+#include <arpa/inet.h>
|
|
|
|
#include "hex.h"
|
|
#include "buf.h"
|
|
--- a/decode_mmxp.c 2011-06-19 17:13:50.323999391 -0500
|
|
+++ b/decode_mmxp.c 2011-06-19 17:15:27.271999371 -0500
|
|
@@ -21,6 +21,7 @@
|
|
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
+#include <arpa/inet.h>
|
|
|
|
#include "buf.h"
|
|
#include "decode.h"
|
|
--- a/decode_pptp.c 2011-06-19 17:13:50.687999391 -0500
|
|
+++ b/decode_pptp.c 2011-06-19 17:15:27.275999371 -0500
|
|
@@ -16,6 +16,7 @@
|
|
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
+#include <arpa/inet.h>
|
|
|
|
#include "buf.h"
|
|
#include "decode.h"
|
|
--- a/decode_tds.c 2011-06-19 17:15:23.511999372 -0500
|
|
+++ b/decode_tds.c 2011-06-19 17:15:27.275999371 -0500
|
|
@@ -19,6 +19,7 @@
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <strlcat.h>
|
|
+#include <arpa/inet.h>
|
|
|
|
#include "decode.h"
|
|
|
|
--- a/decode_vrrp.c 2011-06-19 17:13:51.243999390 -0500
|
|
+++ b/decode_vrrp.c 2011-06-19 17:15:27.287999371 -0500
|
|
@@ -15,6 +15,7 @@
|
|
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
+#include <arpa/inet.h>
|
|
|
|
#include "buf.h"
|
|
#include "decode.h"
|
|
--- a/ssh.c 2011-06-19 17:15:14.343999374 -0500
|
|
+++ b/ssh.c 2011-06-19 17:15:27.291999371 -0500
|
|
@@ -23,6 +23,7 @@
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
+#include <arpa/inet.h>
|
|
#include <unistd.h>
|
|
|
|
#include "hex.h"
|