OSDN Git Service

Add prototype include to inet types.
authorBruce Momjian <bruce@momjian.us>
Sun, 4 Oct 1998 15:35:12 +0000 (15:35 +0000)
committerBruce Momjian <bruce@momjian.us>
Sun, 4 Oct 1998 15:35:12 +0000 (15:35 +0000)
src/backend/utils/adt/inet_net_ntop.c
src/backend/utils/adt/inet_net_pton.c
src/backend/utils/adt/ip.c
src/backend/utils/adt/mac.c

index 655f8ba..6d835df 100644 (file)
@@ -16,7 +16,7 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static const char rcsid[] = "$Id: inet_net_ntop.c,v 1.1 1998/10/03 05:40:48 momjian Exp $";
+static const char rcsid[] = "$Id: inet_net_ntop.c,v 1.2 1998/10/04 15:35:08 momjian Exp $";
 
 #endif
 
@@ -30,6 +30,9 @@ static const char rcsid[] = "$Id: inet_net_ntop.c,v 1.1 1998/10/03 05:40:48 momj
 #include <string.h>
 #include <stdlib.h>
 
+#include <postgres.h>
+#include <utils/builtins.h>
+
 #ifdef SPRINTF_CHAR
 #define SPRINTF(x) strlen(sprintf/**/x)
 #else
index 8b3ae41..44f905f 100644 (file)
@@ -16,7 +16,7 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static const char rcsid[] = "$Id: inet_net_pton.c,v 1.1 1998/10/03 05:40:49 momjian Exp $";
+static const char rcsid[] = "$Id: inet_net_pton.c,v 1.2 1998/10/04 15:35:09 momjian Exp $";
 
 #endif
 
@@ -32,6 +32,9 @@ static const char rcsid[] = "$Id: inet_net_pton.c,v 1.1 1998/10/03 05:40:49 momj
 #include <string.h>
 #include <stdlib.h>
 
+#include <postgres.h>
+#include <utils/builtins.h>
+
 #ifdef SPRINTF_CHAR
 #define SPRINTF(x) strlen(sprintf/**/x)
 #else
index 7828688..da892f8 100644 (file)
@@ -3,7 +3,7 @@
  *     is for IP V4 CIDR notation, but prepared for V6: just
  *     add the necessary bits where the comments indicate.
  *
- *     $Id: ip.c,v 1.2 1998/10/04 15:31:06 momjian Exp $
+ *     $Id: ip.c,v 1.3 1998/10/04 15:35:10 momjian Exp $
  */
 
 #include <sys/types.h>
@@ -17,6 +17,7 @@
 
 #include <postgres.h>
 #include <utils/palloc.h>
+#include <utils/builtins.h>
 #include <utils/mac.h>
 
 /*
index 8d09ea1..cf21f9b 100644 (file)
@@ -1,14 +1,14 @@
 /*
  *     PostgreSQL type definitions for MAC addresses.
  *
- *     $Id: mac.c,v 1.1 1998/10/03 05:40:50 momjian Exp $
+ *     $Id: mac.c,v 1.2 1998/10/04 15:35:12 momjian Exp $
  */
 
 #include <stdio.h>
 
 #include <postgres.h>
 #include <utils/palloc.h>
-
+#include <utils/builtins.h>
 #include <utils/mac.h>
 
 manufacturer manufacturers[] = {