From: François Tigeot Date: Tue, 17 Nov 2015 17:54:01 +0000 (+0100) Subject: xmlconfig: Add support for DragonFly X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8a94ba5e0cb738c6b1a817ea54afc5816d2bb596;p=mesa.git xmlconfig: Add support for DragonFly Signed-off-by: Emil Velikov --- diff --git a/src/mesa/drivers/dri/common/xmlconfig.c b/src/mesa/drivers/dri/common/xmlconfig.c index b8ab480ddfe..a8f7c9b854b 100644 --- a/src/mesa/drivers/dri/common/xmlconfig.c +++ b/src/mesa/drivers/dri/common/xmlconfig.c @@ -59,6 +59,9 @@ extern char *program_invocation_name, *program_invocation_short_name; #elif defined(__NetBSD__) && defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 106000100) # include # define GET_PROGRAM_NAME() getprogname() +#elif defined(__DragonFly__) +# include +# define GET_PROGRAM_NAME() getprogname() #elif defined(__APPLE__) # include # define GET_PROGRAM_NAME() getprogname()