It seems that I can somehow work around it by avoiding the inclusion of afs.h
and use other headers like afs_args.h to get to the information that is needed
for the build.
But if those files are not considered as part of the OpenAFS API, they might
suffer from the same problem in the future, so
Public bug reported:
Samba has some OpenAFS related features. In order to activate them, Samba needs
the OpenAFS headers.
While this has worked with OpenAFS 1.4.x, it stopped working against the
current 1.6.x series.
Compilations fail with
/usr/include/afs/afs.h:1418:27: error: field