diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2014-05-17 08:38:00 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2014-05-17 08:38:00 +0000 |
commit | 8e7cbf9f8613cbead66586a57cbabf18d822e11e (patch) | |
tree | 1d41b39ab91d38610b186fb888f15166a471786e /sysutils/toshctl/files/patch-tosh_bios.cpp | |
parent | - Support USE_GITHUB (diff) |
- Fix build on -current
- Add LICENSE
PR: 187753
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=354295
Diffstat (limited to 'sysutils/toshctl/files/patch-tosh_bios.cpp')
-rw-r--r-- | sysutils/toshctl/files/patch-tosh_bios.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sysutils/toshctl/files/patch-tosh_bios.cpp b/sysutils/toshctl/files/patch-tosh_bios.cpp new file mode 100644 index 000000000000..297084b1f377 --- /dev/null +++ b/sysutils/toshctl/files/patch-tosh_bios.cpp @@ -0,0 +1,18 @@ +--- 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" |