Return to config.h.pre CVS log | Up to [cvsweb.bsd.lv] / mandoc |
File: [cvsweb.bsd.lv] / mandoc / Attic / config.h.pre (download)
Revision 1.3, Sat Jan 4 13:40:01 2014 UTC (10 years, 8 months ago) by schwarze
Even though strnlen(3) is required by POSIX 2008, Matthias Scheler reports than Solaris 10 lacks it. While here, sort the declarations in config.h and move the headers to the top. |
#ifndef MANDOC_CONFIG_H #define MANDOC_CONFIG_H #if defined(__linux__) || defined(__MINT__) # define _GNU_SOURCE /* strptime(), getsubopt() */ #endif #include <sys/types.h> #include <stdio.h>