From df6b9bbcd01a383a021a770ea19e8533ee21d4aa Mon Sep 17 00:00:00 2001 From: Josef 'Jeff' Sipek Date: Thu, 5 Oct 2017 13:05:20 -0400 Subject: [PATCH] lib: always include fd-close-on-exec.h & fd-set-nonblock.h via fd-util.h --- src/lib/Makefile.am | 1 + src/lib/fd-util.h | 7 +++++++ src/lib/lib.h | 1 + 3 files changed, 9 insertions(+) create mode 100644 src/lib/fd-util.h diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am index 0de7af0211..036a383091 100644 --- a/src/lib/Makefile.am +++ b/src/lib/Makefile.am @@ -184,6 +184,7 @@ headers = \ failures.h \ fd-close-on-exec.h \ fd-set-nonblock.h \ + fd-util.h \ fdatasync-path.h \ fdpass.h \ file-cache.h \ diff --git a/src/lib/fd-util.h b/src/lib/fd-util.h new file mode 100644 index 0000000000..2606fe9f56 --- /dev/null +++ b/src/lib/fd-util.h @@ -0,0 +1,7 @@ +#ifndef FD_UTIL_H +#define FD_UTIL_H + +#include "fd-close-on-exec.h" +#include "fd-set-nonblock.h" + +#endif diff --git a/src/lib/lib.h b/src/lib/lib.h index 995fec4b67..6970997575 100644 --- a/src/lib/lib.h +++ b/src/lib/lib.h @@ -32,6 +32,7 @@ #include "mempool.h" #include "imem.h" #include "byteorder.h" +#include "fd-util.h" typedef struct buffer buffer_t; typedef struct buffer string_t; -- 2.47.3