]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix 2.2.0 build failure when management interface disabled
authorMatthew L. Creech <mlcreech@gmail.com>
Wed, 11 May 2011 21:57:28 +0000 (17:57 -0400)
committerDavid Sommerseth <davids@redhat.com>
Thu, 19 May 2011 16:23:02 +0000 (18:23 +0200)
commite1f2f5f61e5be20be9abd9c747fa83e8189d34c8
tree06abac56893912676fac07637f5c660b48f66578
parent96ca4f3334b126ad972948d76add176a31116ca4
Fix 2.2.0 build failure when management interface disabled

I just upgraded to 2.2.0, and my build fails with:

ps.c: In function 'port_share_open':
ps.c:778:7: error: 'management' undeclared (first use in this function)
ps.c:778:7: note: each undeclared identifier is reported only once for
each function it appears in
make[5]: *** [ps.o] Error 1

[Comment by David Sommerseth:
 This happens only when building with --enable-small, --disable-management
 and --disable-pkcs11

 Also changed MANAGEMENT_ENABLED to ENABLE_MANAGEMENT from the original
 patch.
]

Mailing-list: http://thread.gmane.org/gmane.network.openvpn.devel/4639
Signed-off-by: Matthew L. Creech <mlcreech@gmail.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Signed-off-by: David Sommerseth <davids@redhat.com>
(cherry picked from commit ca0ed8458a355aea46d26c209984caaf533784ec)
ps.c