Fix OS/2 includes to not repeat including os2.h.

This commit is contained in:
2021-04-11 00:40:29 +01:00
parent d57cc3a3ce
commit 49b5cd1701
4 changed files with 14 additions and 1 deletions

View File

@@ -22,6 +22,9 @@ Aaru Data Preservation Suite
Copyright (C) 2011-2021 Natalia Portillo
*****************************************************************************/
#define INCL_DOSMISC
#define INCL_DOSFILEMGR
#include <os2.h>
#include <stdio.h>
#include <stdlib.h>

View File

@@ -25,7 +25,12 @@ Copyright (C) 2011-2021 Natalia Portillo
#ifndef AARU_FSTESTER_SETTER_SRC_OS2_ATTR_H_
#define AARU_FSTESTER_SETTER_SRC_OS2_ATTR_H_
#ifndef OS2_INCLUDED
#define INCL_DOSMISC
#define INCL_DOSFILEMGR
#include <os2.h>
#endif
typedef struct
{

View File

@@ -25,7 +25,12 @@ Copyright (C) 2011-2021 Natalia Portillo
#ifndef AARU_FSTESTER_SETTER_SRC_OS2_H
#define AARU_FSTESTER_SETTER_SRC_OS2_H
#ifndef OS2_INCLUDED
#define INCL_DOSMISC
#define INCL_DOSFILEMGR
#include <os2.h>
#endif
#if(defined(__I86__) || defined(__i86__) || defined(_M_I86)) // 16 bit

View File

@@ -33,7 +33,7 @@ Copyright (C) 2011-2021 Natalia Portillo
#include "../include/consts.h"
#include "../include/defs.h"
#include "../log.h"
#include "os2.h"
#include "os2defs.h"
void GetVolumeInfo(const char* path, size_t* clusterSize)
{