From 6cc658c157365b1e7dd75233a8a27ba0c1ff18bd Mon Sep 17 00:00:00 2001 From: Walt Karas Date: Tue, 29 Aug 2023 21:11:20 +0000 Subject: [PATCH] Remove in_addr forward declaration from experimental.h. It appears to have been superfluous, and can now cause compile errors, since it was accidentally placed inside a namespace. --- include/ts/experimental.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/ts/experimental.h b/include/ts/experimental.h index cdcbbfbe803..1318f5db917 100644 --- a/include/ts/experimental.h +++ b/include/ts/experimental.h @@ -52,10 +52,6 @@ namespace c TS_FETCH_FLAGS_SKIP_REMAP = 1 << 5, // Skip remapping and allow requesting arbitary URL }; - /* Forward declaration of in_addr, any user of these APIs should probably - include net/netinet.h or whatever is appropriate on the platform. */ - struct in_addr; - /* Cache APIs that are not yet fully supported and/or frozen nor complete. */ TSReturnCode TSCacheBufferInfoGet(TSCacheTxn txnp, uint64_t *length, uint64_t *offset);