opnsense-ports/sysutils/toshctl/files/patch-tosh_bios.cpp
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

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"