View | Details | Raw Unified | Return to bug 265567
Collapse All | Expand All

(-)b/security/masscan/files/patch-src_out-tcp-services.c (+10 lines)
Added Link Here
1
--- src/out-tcp-services.c.orig	2022-08-02 04:53:49 UTC
2
+++ src/out-tcp-services.c
3
@@ -1,6 +1,7 @@
4
 #include "out-tcp-services.h"
5
 #include <string.h>
6
 #include <stdlib.h>
7
+#include <arpa/inet.h>
8
 
9
 #ifndef WIN32
10
 #include <netdb.h>
(-)b/security/masscan/files/patch-src_smack1.c (-2 / +2 lines)
Lines 6-13 Link Here
6
 #include <machine/cpufunc.h>
6
 #include <machine/cpufunc.h>
7
-#define __rdtsc rdtsc
7
-#define __rdtsc rdtsc
8
-#if (__ARM_ARCH >= 6)  // V6 is the earliest arch that has a standard cyclecount
8
-#if (__ARM_ARCH >= 6)  // V6 is the earliest arch that has a standard cyclecount
9
-unsigned long long rdtsc(void)
9
+#if (__ARM_ARCH >= 6 && __ARM_ARCH <= 7)  // V6 is the earliest arch that has a standard cyclecount
10
+#if (__ARM_ARCH >= 6 && __ARM_ARCH <= 7)  // V6 is the earliest arch that has a standard cyclecount
10
 unsigned long long rdtsc(void)
11
+unsigned long long __rdtsc(void)
11
 {
12
 {
12
   uint32_t pmccntr;
13
   uint32_t pmccntr;
13
   uint32_t pmuseren;
14
   uint32_t pmuseren;
14
- 

Return to bug 265567