From 505e6f45c134a1d4c823ca00788c9031525eec0a Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Tue, 2 Mar 2021 17:28:13 +0100 Subject: [PATCH] fix for older vxWorks installations --- modules/libcom/src/osi/os/vxWorks/osiUnistd.h | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 modules/libcom/src/osi/os/vxWorks/osiUnistd.h diff --git a/modules/libcom/src/osi/os/vxWorks/osiUnistd.h b/modules/libcom/src/osi/os/vxWorks/osiUnistd.h new file mode 100644 index 000000000..3f767ae09 --- /dev/null +++ b/modules/libcom/src/osi/os/vxWorks/osiUnistd.h @@ -0,0 +1,21 @@ +/*************************************************************************\ +* Copyright (c) 2002 The University of Chicago, as Operator of Argonne +* National Laboratory. +* Copyright (c) 2002 The Regents of the University of California, as +* Operator of Los Alamos National Laboratory. +* SPDX-License-Identifier: EPICS +* EPICS Base is distributed subject to a Software License Agreement found +* in file LICENSE that is included with this distribution. +\*************************************************************************/ +/* + * Author Jeffrey O. Hill + * johill@lanl.gov + * 505 665 1831 + */ + +#include + +/* VxWorks has some functions in ioLib.h instead of unistd.h, + for example close() and read() + */ +#include