Files
haikuports/dev-embedded/2cdt/patches/2cdt-2016.10.16.patchset
Adrien Destugues 901c47baaf 2cdt: update to current version.
Remove older one as the sourcefile doesn't change names in upstream, it
just gets replaced… fortunately, not too often.
2017-05-10 21:26:24 +02:00

28 lines
561 B
Plaintext

From 1240bcb688b89dba024ccacbdd26896415b78296 Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
Date: Wed, 10 May 2017 21:24:37 +0200
Subject: Haiku build fix.
diff --git a/src/2cdt.c b/src/2cdt.c
index dd35af1..c7320a6 100644
--- a/src/2cdt.c
+++ b/src/2cdt.c
@@ -24,11 +24,13 @@ on the PC */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#ifndef __HAIKU__
#ifdef UNIX
#include <sys/io.h>
#else
#include <io.h>
#endif
+#endif
#include "defs.h"
#include "tzxfile.h"
#include "opth.h"
--
2.12.2