freebsd-ports/sysutils/toshctl/files/patch-tosh_bios.cpp
Martin Wilke 8e7cbf9f86 - Fix build on -current
- Add LICENSE

PR:		187753
Submitted by:	Ports Fury
2014-05-17 08:38:00 +00:00

18 lines
412 B
C++

--- tosh_bios.cpp.orig
+++ tosh_bios.cpp
@@ -23,11 +23,12 @@
static const char PROGRAM_ID[]="$Id: tosh_bios.cpp,v 1.4 2003/07/29 01:43:38 cws Exp $";
#include "tosh_utils.h"
-#include <ctype.h>
-#include <stdio.h>
+#include <cctype>
+#include <cstdio>
+#include <cstring>
#include <sys/types.h>
#include <sys/mman.h>
-#include <time.h>
+#include <ctime>
#include "toshibaIDs.hh"
#include "tosh_vars.h"