summaryrefslogtreecommitdiff
path: root/src/basic/fdset.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/fdset.c')
-rw-r--r--src/basic/fdset.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/basic/fdset.c b/src/basic/fdset.c
index 9669110828..42b0b2b98f 100644
--- a/src/basic/fdset.c
+++ b/src/basic/fdset.c
@@ -25,9 +25,11 @@
#include "sd-daemon.h"
+#include "dirent-util.h"
#include "fd-util.h"
#include "fdset.h"
#include "macro.h"
+#include "parse-util.h"
#include "set.h"
#include "util.h"
@@ -42,7 +44,7 @@ FDSet *fdset_new(void) {
return MAKE_FDSET(set_new(NULL));
}
-int fdset_new_array(FDSet **ret, int *fds, unsigned n_fds) {
+int fdset_new_array(FDSet **ret, const int *fds, unsigned n_fds) {
unsigned i;
FDSet *s;
int r;