Add includes for prototypes for new IP type.

This commit is contained in:
Bruce Momjian 1998-10-04 16:24:32 +00:00
parent 18af384bb7
commit 10d987c709
2 changed files with 4 additions and 2 deletions

View File

@ -3,13 +3,14 @@
* is for IP V4 CIDR notation, but prepared for V6: just * is for IP V4 CIDR notation, but prepared for V6: just
* add the necessary bits where the comments indicate. * add the necessary bits where the comments indicate.
* *
* $Id: ip.c,v 1.3 1998/10/04 15:35:10 momjian Exp $ * $Id: ip.c,v 1.4 1998/10/04 16:24:30 momjian Exp $
*/ */
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include <errno.h> #include <errno.h>
#include <netinet/in.h> #include <netinet/in.h>

View File

@ -1,10 +1,11 @@
/* /*
* PostgreSQL type definitions for MAC addresses. * PostgreSQL type definitions for MAC addresses.
* *
* $Id: mac.c,v 1.2 1998/10/04 15:35:12 momjian Exp $ * $Id: mac.c,v 1.3 1998/10/04 16:24:32 momjian Exp $
*/ */
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include <postgres.h> #include <postgres.h>
#include <utils/palloc.h> #include <utils/palloc.h>