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.5, Sun Aug 10 23:54:41 2014 UTC (10 years, 1 month ago) by schwarze
Get rid of HAVE_CONFIG_H, it is always defined; idea from libnbcompat. 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. |
#ifndef MANDOC_CONFIG_H #define MANDOC_CONFIG_H #if defined(__linux__) || defined(__MINT__) # define _GNU_SOURCE /* getsubopt(), strcasestr(), strptime() */ #endif