From 8952afd6cccaefc56de8594dc4f21af00e058b21 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 30 Jan 2019 09:11:25 +0530 Subject: [PATCH] Fix compilation of new choose kitten under FreeBSD I hope. Fixes #1347 --- kittens/choose/choose-data-types.h | 6 +----- kittens/choose/main.c | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/kittens/choose/choose-data-types.h b/kittens/choose/choose-data-types.h index 590245a73..39fe4e178 100644 --- a/kittens/choose/choose-data-types.h +++ b/kittens/choose/choose-data-types.h @@ -5,6 +5,7 @@ */ #pragma once +#include "data-types.h" #if defined(_MSC_VER) #define ISWINDOWS #define STDCALL __stdcall @@ -22,11 +23,6 @@ typedef SSIZE_T ssize_t; #else #define STDCALL #endif -#define _POSIX_C_SOURCE 200809L - -#include -#include -#include #include "vector.h" diff --git a/kittens/choose/main.c b/kittens/choose/main.c index ce7de2556..a1b63309a 100644 --- a/kittens/choose/main.c +++ b/kittens/choose/main.c @@ -5,7 +5,6 @@ * Distributed under terms of the GPL3 license. */ -#include "data-types.h" #include "choose-data-types.h" #include "charsets.h"