timeb.h only used when not using POSIX_TIME

This commit is contained in:
Bruce Momjian 1997-01-10 18:22:41 +00:00
parent 59dcac1e5d
commit 37c168f6ba

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.10 1997/01/06 00:20:13 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.11 1997/01/10 18:22:41 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -15,8 +15,10 @@
#include <ctype.h> #include <ctype.h>
#include <string.h> #include <string.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/timeb.h>
#include "postgres.h" #include "postgres.h"
#ifndef USE_POSIX_TIME
#include <sys/timeb.h>
#endif
#include "access/xact.h" #include "access/xact.h"
#define MAXDATEFIELDS 25 #define MAXDATEFIELDS 25