Fix ft32 libgloss for c99/gcc-14

Message ID 0b35f7bb-c35a-4359-bc55-e828f000bc3a@gmail.com
State New
Headers
Series Fix ft32 libgloss for c99/gcc-14 |

Commit Message

Jeff Law Dec. 23, 2023, 3:49 a.m. UTC
  Just one missing header for this libgloss port.

Pushed to the trunk.

Jeff L.
commit 886eadb78e94d77cf8f3f401158247fa695cf95b
Author: Jeff Law <jeffreyalaw@gmail.com>
Date:   Fri Dec 22 20:48:21 2023 -0700

    Fix ft32 libgloss for c99/gcc-14
    
    Just one missing header for this libgloss port.
  

Patch

diff --git a/libgloss/ft32/sim-inbyte.c b/libgloss/ft32/sim-inbyte.c
index 9df0e1fe4..f56890dcc 100644
--- a/libgloss/ft32/sim-inbyte.c
+++ b/libgloss/ft32/sim-inbyte.c
@@ -13,6 +13,7 @@ 
  * the new terms are clearly indicated on the first page of each file where
  * they apply.
  */
+#include <unistd.h>
 
 int
 inbyte ()