OSDN Git Service

need to include postgres.h before HAVE_DLD_H
authorMarc G. Fournier <scrappy@hub.org>
Fri, 2 Jan 1998 03:40:04 +0000 (03:40 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Fri, 2 Jan 1998 03:40:04 +0000 (03:40 +0000)
need to include string.h for strdup()

From: Bryan Henderson <bryanh@giraffe-data.com>

src/backend/port/dynloader/linux.c

index b88b330..2bf33c5 100644 (file)
  *
  *
  * 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"