Check if this file (hciattach.c) includes linux/limits.h. That's where PATH_MAX is defined. If not, add it. But, a warning: it may be a trace of a bigger problem so make sure, for instance, that the include files are included from the directories you really want them.
|