--- ./snappy.cc.orig	2023-04-19 23:51:50.197968473 +0000
+++ ./snappy.cc	2023-04-20 00:35:31.978112357 +0000
@@ -1014,7 +1014,7 @@
 }
 
 SNAPPY_ATTRIBUTE_ALWAYS_INLINE
-size_t AdvanceToNextTag(const uint8_t** ip_p, size_t* tag) {
+inline size_t AdvanceToNextTag(const uint8_t** ip_p, size_t* tag) {
   const uint8_t*& ip = *ip_p;
   // This section is crucial for the throughput of the decompression loop.
   // The latency of an iteration is fundamentally constrained by the
@@ -1445,7 +1445,11 @@
 }
 
 template <typename Writer>
+#ifndef _AIX
 static bool InternalUncompressAllTags(SnappyDecompressor* decompressor,
+#else
+bool InternalUncompressAllTags(SnappyDecompressor* decompressor,
+#endif
                                       Writer* writer, uint32_t compressed_len,
                                       uint32_t uncompressed_len) {
   Report("snappy_uncompress", compressed_len, uncompressed_len);
