summaryrefslogtreecommitdiffstats
path: root/term_ascii.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-10 23:54:41 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-10 23:54:41 +0000
commita48dab80b41e90194711a45e5012659b7a83da4f (patch)
treee9ff1b0c9ce7ccae2406c13997216cfa833192fe /term_ascii.c
parenteb71396069dcb5ba517f77b55312e455b6b16b76 (diff)
downloadmandoc-a48dab80b41e90194711a45e5012659b7a83da4f.tar.gz
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.
Diffstat (limited to 'term_ascii.c')
-rw-r--r--term_ascii.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/term_ascii.c b/term_ascii.c
index c749c982..3eb03801 100644
--- a/term_ascii.c
+++ b/term_ascii.c
@@ -15,21 +15,19 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#ifdef HAVE_CONFIG_H
#include "config.h"
-#endif
#include <sys/types.h>
#ifdef USE_WCHAR
-# include <locale.h>
+#include <locale.h>
#endif
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#ifdef USE_WCHAR
-# include <wchar.h>
+#include <wchar.h>
#endif
#include "mandoc.h"