diff options
Diffstat (limited to 'contrib/groff/src/utils/lookbib')
-rw-r--r-- | contrib/groff/src/utils/lookbib/Makefile.sub | 4 | ||||
-rw-r--r-- | contrib/groff/src/utils/lookbib/lookbib.cc | 9 |
2 files changed, 7 insertions, 6 deletions
diff --git a/contrib/groff/src/utils/lookbib/Makefile.sub b/contrib/groff/src/utils/lookbib/Makefile.sub index 91b1404..7a08f0a 100644 --- a/contrib/groff/src/utils/lookbib/Makefile.sub +++ b/contrib/groff/src/utils/lookbib/Makefile.sub @@ -1,7 +1,7 @@ -PROG=lookbib +PROG=lookbib$(EXEEXT) MAN1=lookbib.n XLIBS=$(LIBBIB) $(LIBGROFF) MLIB=$(LIBM) -OBJS=lookbib.o +OBJS=lookbib.$(OBJEXT) CCSRCS=$(srcdir)/lookbib.cc NAMEPREFIX=$(g) diff --git a/contrib/groff/src/utils/lookbib/lookbib.cc b/contrib/groff/src/utils/lookbib/lookbib.cc index b742a4b..65e89bc 100644 --- a/contrib/groff/src/utils/lookbib/lookbib.cc +++ b/contrib/groff/src/utils/lookbib/lookbib.cc @@ -18,22 +18,23 @@ You should have received a copy of the GNU General Public License along with groff; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <stdio.h> +#include "lib.h" + #include <stdlib.h> -#include <string.h> #include <assert.h> #include <errno.h> #include "errarg.h" #include "error.h" -#include "lib.h" #include "cset.h" #include "refid.h" #include "search.h" +/* for isatty() */ +#include "posix.h" + extern "C" { - int isatty(int); const char *Version_string; } |