summaryrefslogtreecommitdiff
path: root/package/snort/patches/patch-src_dynamic-preprocessors_appid_service_plugins_service_rpc_c
blob: fee10a196d5836b2bae9b7061e015ec2ddca419c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- snort-2.9.14.1.orig/src/dynamic-preprocessors/appid/service_plugins/service_rpc.c	2019-08-02 08:16:46.000000000 +0200
+++ snort-2.9.14.1/src/dynamic-preprocessors/appid/service_plugins/service_rpc.c	2019-10-08 14:40:22.925536140 +0200
@@ -32,7 +32,7 @@
 #include "flow.h"
 #include "service_api.h"
 
-#if defined(FREEBSD) || defined(OPENBSD)
+#if defined(FREEBSD) || defined(OPENBSD) || (defined(LINUX) && defined(__UCLIBC__) && !defined(__UCLIBC_HAS_RPC__) || !defined(__GLIBC__))
 #include "rpc/rpc.h"
 #endif