]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
control: Fix non privsep builds master
authorRoy Marples <roy@marples.name>
Wed, 5 Aug 2026 12:20:46 +0000 (13:20 +0100)
committerGitHub <noreply@github.com>
Wed, 5 Aug 2026 12:20:46 +0000 (13:20 +0100)
.github/workflows/build.yml
src/control.c

index 83fee113ac54c06919544d8d3c97abba25ebc728..050c8e0a13d5a24601533af8f03ad69e1dbfcfd1 100644 (file)
@@ -24,6 +24,7 @@ jobs:
           - --disable-ipv4ll
           - --disable-ipv6
           - --disable-dhcp6
+          - --disable-privsep
         cppflags:
           -
           - -DSMALL
index 6ed7dd16557465ee7355fa40beecc0d865846842..114435e3e9c906e51b67676d6f0797a577a3e929 100644 (file)
@@ -381,8 +381,8 @@ control_new(struct dhcpcd_ctx *ctx, int fd, unsigned int flags)
 {
        struct fd_list *l;
        size_t cnt;
-#ifdef PRIVSEP
        struct fd_list *n;
+#ifdef PRIVSEP
        unsigned int id;
 #endif