summaryrefslogtreecommitdiffstats
path: root/config.h.pre
Commit message (Collapse)AuthorAgeFilesLines
* revert previous; i missed that config.h needs sys/types.h and stdio.hIngo Schwarze2014-08-111-0/+3
| | | | for itself because it uses size_t and FILE...
* Get rid of HAVE_CONFIG_H, it is always defined; idea from libnbcompat.Ingo Schwarze2014-08-101-3/+0
| | | | | | Include <sys/types.h> where needed, it does not belong in config.h. Remove <stdio.h> from config.h; if it is missing somewhere, it should be added, but i cannot find a *.c file where it is missing.
* strcasestr() wants _GNU_SOURCE on LinuxIngo Schwarze2014-08-051-1/+1
|
* Even though strnlen(3) is required by POSIX 2008,Ingo Schwarze2014-01-041-0/+1
| | | | | | Matthias Scheler reports than Solaris 10 lacks it. While here, sort the declarations in config.h and move the headers to the top.
* Compatibility support fgetln() on Linux. This uses the BSD-licensedKristaps Dzonsons2011-12-131-0/+2
| | | | | | | | | | implementation from NetBSD tnftpd, Christos Zoulas (copyright message retained in the compat_fgetln.c file). Patch verified by schwarze@. He notes that you'll need -pthread for -static binaries (due to libdb), so I've noted that -static should really only be used for BSD UNIX. While here, add some forgotten goop to the Makefile, building and cleaning extra manpages.
* Big check-in of compatibility layer. This should work on most major ↵Kristaps Dzonsons2010-01-011-0/+6
architectures. Thanks to Joerg Sonnenberger.