roken: move Heimdal vis.h extensions to separate header
vis.h is not built on platforms (such as macOS) that already have that header, which resulted in prototypes for Heimdal-specific vis.h extensions being absent. Move those prototypes to a separate header, vis-extras.h, which must be explicitly included in order to use the Heimdal extensions.
This commit is contained in:
@@ -89,7 +89,7 @@ else
|
||||
vis_h = vis.h
|
||||
endif
|
||||
|
||||
rkvis_SOURCES = vis.c $(vis_h)
|
||||
rkvis_SOURCES = vis.c $(vis_h) vis-extras.h
|
||||
rkvis_CPPFLAGS = -DTEST
|
||||
|
||||
rkbase32_SOURCES = base32.c
|
||||
@@ -179,6 +179,7 @@ libroken_la_SOURCES = \
|
||||
unvis.c \
|
||||
vis.c \
|
||||
$(vis_h) \
|
||||
vis-extras.h \
|
||||
warnerr.c \
|
||||
write_pid.c \
|
||||
xfree.c \
|
||||
|
||||
Reference in New Issue
Block a user