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:
parent
1b6496d171
commit
3eb443a2d1
@ -16,6 +16,7 @@ recommend:
|
|||||||
- glibc-debuginfo
|
- glibc-debuginfo
|
||||||
- glibc-debuginfo-common
|
- glibc-debuginfo-common
|
||||||
- gdb
|
- gdb
|
||||||
|
- gcc
|
||||||
duration: 30m
|
duration: 30m
|
||||||
extra-summary:
|
extra-summary:
|
||||||
/tools/glibc/Regression/bz1563046-getlogin-r-return-early-when-linux-sentinel-value
|
/tools/glibc/Regression/bz1563046-getlogin-r-return-early-when-linux-sentinel-value
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <unistd.h>
|
||||||
#define BUFSIZE 1024
|
#define BUFSIZE 1024
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
int r=0,i,attempts=0;
|
int r=0,i,attempts=0;
|
||||||
|
Loading…
Reference in New Issue
Block a user