From ab2ffde5f3a0a42c1ff10bc005c6c4ae4ecc385c Mon Sep 17 00:00:00 2001 From: Henning Geinitz Date: Sat, 23 Dec 2000 16:06:19 +0000 Subject: [PATCH] 2000-12-23 Henning Meier-Geinitz * NEWS: Added date of release. * TODO: Removed entries about PATH_MAX, sanei_scsi_find_devices, and shm.h. Added entry about the necessity to check HAVE_SYS_SHM_H. * configure configure.in include/sane/config.h.in: Default to --enable-warnings again. Don't set "-ansi" for OS/2. Test for sys/shm.h. * backend/GUIDE: Moved to doc/backend-writing.txt. * doc/backend-writing.txt: New file (moved from backend/GUIDE). Added comments about sanei-backend.h and PATH_MAX. * include/sane/sanei_backend.h: Added define for PATH_MAX (if necessary). * sanei/sanei_scsi.c: Implemented sanei_scsi_find_devices for FreeBSD (from ports@FreeBSD.org). * tools/Makefile.in: Use INSTALL_SCRIPT instead of INSTALL_PROGRAM for sane-config (from ports@FreeBSD.org). --- include/sane/sanei_backend.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/sane/sanei_backend.h b/include/sane/sanei_backend.h index fe4a007ca..a706fb214 100644 --- a/include/sane/sanei_backend.h +++ b/include/sane/sanei_backend.h @@ -18,6 +18,10 @@ #endif #endif /* HAVE_OS2_H */ +#ifndef PATH_MAX +# define PATH_MAX 1024 +#endif + #ifdef HAVE_SIGPROCMASK # define SIGACTION sigaction #else