summaryrefslogtreecommitdiff
path: root/src/utils/lookbib/lookbib.cpp
diff options
context:
space:
mode:
authorwlemb <wlemb>2003-12-30 06:31:35 +0000
committerwlemb <wlemb>2003-12-30 06:31:35 +0000
commit6c33fe612137b315457cb24f63b37054b58359ca (patch)
treeeaf2ae671767d31f9e9416f9a9302b2d3fa104cf /src/utils/lookbib/lookbib.cpp
parente5e6dbda86fdfc7ef8b4c6eee598355526910766 (diff)
downloadgroff-6c33fe612137b315457cb24f63b37054b58359ca.tar.gz
More fixes for MSVC compiler.
* doc/Makefile.sub, contrib/mom/Makefile.sub (GROFF_BIN_PATH): Use $(SEP). * src/include/nonposix.h (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO) [_MSC_VER]: Define conditionally. (getpid) [_MSC_VER]: Remove. Include direct.h and process.h conditionally. * src/roff/troff/node.cpp (suppress_node::tprint): Don't use parentheses for a_delete. * src/utils/lookbib/lookbib.cpp: Include nonposix.h. * test-groff: Replaced with... * test-groff.in: This new template to handle path separator properly. * configure.ac: Check for direct.h and process.h. Generate test-groff script. * configure, src/include/config.hin: Regenerated.
Diffstat (limited to 'src/utils/lookbib/lookbib.cpp')
-rw-r--r--src/utils/lookbib/lookbib.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/utils/lookbib/lookbib.cpp b/src/utils/lookbib/lookbib.cpp
index 65e89bcf..32a6344b 100644
--- a/src/utils/lookbib/lookbib.cpp
+++ b/src/utils/lookbib/lookbib.cpp
@@ -1,5 +1,6 @@
// -*- C++ -*-
-/* Copyright (C) 1989-1992, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1989-1992, 2000, 2001, 2002, 2003
+ Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
@@ -33,6 +34,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* for isatty() */
#include "posix.h"
+#include "nonposix.h"
extern "C" {
const char *Version_string;