Define PATH_MAX if needed

merge-requests/1/head
Pino Toscano 2011-03-04 18:18:35 +01:00 zatwierdzone przez Julien BLACHE
rodzic ccf58bf516
commit 56e39a9080
2 zmienionych plików z 8 dodań i 0 usunięć

Wyświetl plik

@ -1,3 +1,7 @@
2011-03-04 Julien Blache <jb@jblache.org>
* frontend/saned.c: define PATH_MAX if needed, fixes build on
HURD. Patch from Pino Toscano <toscano.pino@tiscali.it>.
2011-02-16 Julien Blache <jb@jblache.org>
* backend/v4l.c, backend/v4l.h: fix build with libv4l 0.8.3+.

Wyświetl plik

@ -209,6 +209,10 @@ static AvahiEntryGroup *avahi_group = NULL;
# define MAXHOSTNAMELEN 120
#endif
#ifndef PATH_MAX
# define PATH_MAX 1024
#endif
struct saned_child {
pid_t pid;
struct saned_child *next;