patch-src_dynamic-preprocessors_appid_service_plugins_service_rpc_c 518 B

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