summaryrefslogtreecommitdiff
path: root/src/include/strdup.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/strdup.h')
-rw-r--r--src/include/strdup.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/strdup.h b/src/include/strdup.h
new file mode 100644
index 00000000000..9e07a0f18b8
--- /dev/null
+++ b/src/include/strdup.h
@@ -0,0 +1,8 @@
+/* This is the prototype for the strdup() function which is distributed
+ with Postgres. That strdup() is only needed on those systems that
+ don't already have strdup() in their system libraries.
+
+ The Postgres strdup() is in src/utils/strdup.c.
+*/
+
+extern char* strdup(char const*);