Changeset bebd154 in mainline for uspace/lib/c/include/dirent.h


Ignore:
Timestamp:
2019-05-28T18:38:09Z (5 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
52acfab
Parents:
0d14c25
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-05-28 18:37:57)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-05-28 18:38:09)
Message:

Fix coastline gcc build

Not really sure why, but during gcc build the code in <dirent.h>
is missing the definition of NAME_MAX from <limits.h>, despite
<limits.h> being included.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/dirent.h

    r0d14c25 rbebd154  
    3636#define _LIBC_DIRENT_H_
    3737
    38 #include <limits.h>
    3938#include <_bits/decls.h>
    4039
     
    4241
    4342struct dirent {
    44         char d_name[__NAME_MAX + 1];
     43        char d_name[256];
    4544};
    4645
Note: See TracChangeset for help on using the changeset viewer.