fix compilation when libproxyprotocol is not present

This commit is contained in:
Yves Rutschle committed 2025-04-06 11:59:08 +02:00
1 parent 5ad1ea1e25
commit 0e7885bc9f
3 files changed
+6 -2

No files matched your search

+4
View File
@@ -20,6 +20,8 @@
*/
#ifdef HAVE_PROXYPROTOCOL
#include <proxy_protocol.h>
#include "common.h"
#include "log.h"
@@ -112,3 +114,5 @@ int pp_write_header(int pp_version, struct connection* cnx)
return 0;
}
#endif /* HAVE_PROXYPROTOCOL */