Zdravim mam problem s kompilaciou. O co ide. Do mojho suboru som bol nuteny, kvoli funkcii na zamykanie suboru zahrnut hlavickovy subor <sys/stat.h> ktory dalej zahrnuje subor "/usr/include/bits/stat.h" a ten dalej zahrnuje <time.h> v ktorom je definovane co dalej je vyzadovane v "/usr/include/bits/stat.h" ako je vidiet dalej vo vypise kompilatoru a ja neviem ako to skompilovat bez chyb a google mi moc nepomohol preto sa chcem spytat ci ste sa s tym stretli a ako ste to riesili
In file included from /usr/include/sys/stat.h:107:0,
from fifo_utils.c:5: -- na tomto riadku sa nachadza len #include <sys/stat.h>
/usr/include/bits/stat.h:91:21: error: field ‘st_atim’ has incomplete type
/usr/include/bits/stat.h:92:21: error: field ‘st_mtim’ has incomplete type
/usr/include/bits/stat.h:93:21: error: field ‘st_ctim’ has incomplete type
In file included from fifo_utils.c:5:0:
/usr/include/sys/stat.h:374:56: error: array type has incomplete element type