*/
#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
#include <string.h>
#include <stdlib.h>
+#include <postgres.h>
+#include <utils/builtins.h>
+
#ifdef SPRINTF_CHAR
#define SPRINTF(x) strlen(sprintf/**/x)
#else
*/
#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
#include <string.h>
#include <stdlib.h>
+#include <postgres.h>
+#include <utils/builtins.h>
+
#ifdef SPRINTF_CHAR
#define SPRINTF(x) strlen(sprintf/**/x)
#else
* 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>
#include <postgres.h>
#include <utils/palloc.h>
+#include <utils/builtins.h>
#include <utils/mac.h>
/*
/*
* 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[] = {