about summary refs log tree commit diff
path: root/dist
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-20 00:28:10 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-20 00:28:10 -0500
commit2b43ef8fc76eaf3912aa98316eae82797494276d (patch)
treef4560ba9a410a013a66d5fcca4adfc59ff7efc03 /dist
parent13e8459232608f841d5e3f7171da80a8dfce7941 (diff)
downloadmusl-2b43ef8fc76eaf3912aa98316eae82797494276d.tar.gz
musl-2b43ef8fc76eaf3912aa98316eae82797494276d.tar.xz
musl-2b43ef8fc76eaf3912aa98316eae82797494276d.zip
make sys/param.h not depend on PATH_MAX and NAME_MAX
this is a nonstandard header used only by backwards programs, but for
some reason it's extremely popular. the recent namespace cleanup fixes
broke it, because PATH_MAX and NAME_MAX will not be defined unless an
approriate feature test macro has been defined. moreover, it's too
late to just #define _GNU_SOURCE in param.h, since limits.h may have
already been included.

let's just hard-code standard values and be done with it.
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions