]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib: always include fd-close-on-exec.h & fd-set-nonblock.h via fd-util.h
authorJosef 'Jeff' Sipek <jeff.sipek@dovecot.fi>
Thu, 5 Oct 2017 17:05:20 +0000 (13:05 -0400)
committerJosef 'Jeff' Sipek <jeff.sipek@dovecot.fi>
Thu, 5 Oct 2017 19:38:47 +0000 (15:38 -0400)
src/lib/Makefile.am
src/lib/fd-util.h [new file with mode: 0644]
src/lib/lib.h

index 0de7af02116c72da6f7802403b5380063d0c31b1..036a3830919145c7ef1865de3e623b8c6ba8000f 100644 (file)
@@ -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 (file)
index 0000000..2606fe9
--- /dev/null
@@ -0,0 +1,7 @@
+#ifndef FD_UTIL_H
+#define FD_UTIL_H
+
+#include "fd-close-on-exec.h"
+#include "fd-set-nonblock.h"
+
+#endif
index 995fec4b67127ac3b32416143426f278dbc2096f..69709975755ec2808d1b97105a9d836af695e1af 100644 (file)
@@ -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;