CI Tests: fix Regression/bz1563046-getlogin-r-return-early-when-linux-sentinel-value

* add gcc to required packages
* include 'unistd.h'
This commit is contained in:
Martin Coufal 2024-01-30 18:19:10 +01:00 committed by codonell
parent 1b6496d171
commit 3eb443a2d1
2 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@ recommend:
- glibc-debuginfo
- glibc-debuginfo-common
- gdb
- gcc
duration: 30m
extra-summary:
/tools/glibc/Regression/bz1563046-getlogin-r-return-early-when-linux-sentinel-value

View File

@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#define BUFSIZE 1024
int main(int argc, char *argv[]) {
int r=0,i,attempts=0;