opnsense-ports/textproc/word2x/files/patch-html-table.cc
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

22 lines
586 B
C++

--- html-table.cc.orig Fri Aug 6 09:12:08 1999
+++ html-table.cc Wed Mar 31 20:10:02 2004
@@ -3,7 +3,8 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif /* HAVE_CONFIG_H */
-#include <iostream.h>
+#include <iostream>
+using namespace std;
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_STRING_H
@@ -17,7 +18,8 @@
#define __EXCLUDE_READER_CLASSES
#include "lib.h"
#ifndef HAVE_ALLOCA_H
-extern "C" char *alloca(int);
+/* extern "C" char *alloca(int); */
+#include <stdlib.h> /* stupid linux specific weenie code. */
#else
#include <alloca.h>
#endif /* HAVE_ALLOCA_H */