dix: unbreak --with-dtrace (default) on FreeBSD 11.1+
gmake[2]: Entering directory '/path/to/xserver/dix' /usr/sbin/dtrace -G -C -o dtrace-dix.o -s ../dix/Xserver.d .libs/atom.o ... dtrace: failed to compile script ../dix/Xserver.d: line 26: useless declaration gmake[2]: *** [Makefile:1007: dtrace-dix.o] Error 1 Signed-off-by: Jan Beich <jbeich@FreeBSD.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
parent
c967e4cd8b
commit
abe49b0090
|
@ -27,6 +27,8 @@
|
|||
#define string char *
|
||||
#define pid_t uint32_t
|
||||
#define zoneid_t uint32_t
|
||||
#elif defined(__FreeBSD__)
|
||||
#define zoneid_t id_t
|
||||
#else
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue