From c629d3b9d65fdce320aba26d092bfe96274c6092 Mon Sep 17 00:00:00 2001
From: "Marc G. Fournier" <scrappy@hub.org>
Date: Fri, 2 Jan 1998 03:40:04 +0000
Subject: [PATCH] need to include postgres.h before HAVE_DLD_H need to include
 string.h for strdup()

From: Bryan Henderson <bryanh@giraffe-data.com>
---
 src/backend/port/dynloader/linux.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/backend/port/dynloader/linux.c b/src/backend/port/dynloader/linux.c
index b88b330cdd1..2bf33c58fbe 100644
--- a/src/backend/port/dynloader/linux.c
+++ b/src/backend/port/dynloader/linux.c
@@ -10,15 +10,17 @@
  *
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/backend/port/dynloader/linux.c,v 1.3 1998/01/01 06:02:02 thomas Exp $
+ *	  $Header: /cvsroot/pgsql/src/backend/port/dynloader/linux.c,v 1.4 1998/01/02 03:40:04 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #include <stdio.h>
+#include <string.h>
+
+#include "postgres.h"
 #ifdef HAVE_DLD_H
 #include <dld.h>
 #endif
-#include "postgres.h"
 #include "dynloader.h"
 #include "utils/elog.h"
 #include "fmgr.h"
-- 
GitLab