summaryrefslogtreecommitdiffstats
path: root/contrib/groff/src/utils/pfbtops
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/groff/src/utils/pfbtops')
-rw-r--r--contrib/groff/src/utils/pfbtops/Makefile.sub4
-rw-r--r--contrib/groff/src/utils/pfbtops/pfbtops.c5
2 files changed, 7 insertions, 2 deletions
diff --git a/contrib/groff/src/utils/pfbtops/Makefile.sub b/contrib/groff/src/utils/pfbtops/Makefile.sub
index f731ff5..a8ed92a 100644
--- a/contrib/groff/src/utils/pfbtops/Makefile.sub
+++ b/contrib/groff/src/utils/pfbtops/Makefile.sub
@@ -1,6 +1,6 @@
-PROG=pfbtops
+PROG=pfbtops$(EXEEXT)
MAN1=pfbtops.n
-OBJS=pfbtops.o
+OBJS=pfbtops.$(OBJEXT)
CSRCS=$(srcdir)/pfbtops.c
XLIBS=$(LIBGROFF)
MLIB=$(LIBM)
diff --git a/contrib/groff/src/utils/pfbtops/pfbtops.c b/contrib/groff/src/utils/pfbtops/pfbtops.c
index 0964ede..3417dcb 100644
--- a/contrib/groff/src/utils/pfbtops/pfbtops.c
+++ b/contrib/groff/src/utils/pfbtops/pfbtops.c
@@ -19,7 +19,12 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* This translates ps fonts in .pfb format to ASCII ps files. */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
+#include <stdlib.h>
#include <getopt.h>
#include <limits.h>
OpenPOWER on IntegriCloud