# libtiff: tif\_hash\_set.c: include tif\_hash\_set.h after tif\_config.h to let a chance for GDAL symbol renaming trick

**URL:** <https://discourse.libsdl.org/t/libtiff-tif-hash-set-c-include-tif-hash-set-h-after-tif-config-h-to-let-a-chance-for-gdal-symbol-renaming-trick/42123>\
**Category:** SDL Commits\
**Created:** [January 22, 2023, 9:02pm UTC](https://discourse.libsdl.org/t/libtiff-tif-hash-set-c-include-tif-hash-set-h-after-tif-config-h-to-let-a-chance-for-gdal-symbol-renaming-trick/42123 "2023-01-22T21:02:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDLPushPostBot](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/sdlpushpostbot/32/4370_2.png) [@SDLPushPostBot](https://discourse.libsdl.org/u/SDLPushPostBot)\
**Post date:** [January 22, 2023, 9:02pm UTC](https://discourse.libsdl.org/t/libtiff-tif-hash-set-c-include-tif-hash-set-h-after-tif-config-h-to-let-a-chance-for-gdal-symbol-renaming-trick/42123/1 "2023-01-22T21:02:19Z")

</div>

> <https://github.com/libsdl-org/libtiff/commit/bc4d708262e7647a511f3c40aa975e2f5453c3b3>

```diff
From bc4d708262e7647a511f3c40aa975e2f5453c3b3 Mon Sep 17 00:00:00 2001
From: Even Rouault <[EMAIL REDACTED]>
Date: Sun, 22 Jan 2023 13:31:46 +0100
Subject: [PATCH] tif_hash_set.c: include tif_hash_set.h after tif_config.h to
 let a chance for GDAL symbol renaming trick

---
 libtiff/tif_hash_set.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libtiff/tif_hash_set.c b/libtiff/tif_hash_set.c
index 22f05d03..9792c63f 100644
--- a/libtiff/tif_hash_set.c
+++ b/libtiff/tif_hash_set.c
@@ -26,9 +26,10 @@
  * DEALINGS IN THE SOFTWARE.
  **************************************************************************** /
 
-#include "tif_hash_set.h"
 #include "tif_config.h"
 
+#include "tif_hash_set.h"
+
 #include <assert.h>
 #include <stdbool.h>
 #include <stdint.h>

```
