From: François Tigeot Date: Tue, 17 Nov 2015 17:54:01 +0000 (+0100) Subject: xmlconfig: Add support for DragonFly X-Git-Tag: upstream/17.1.0~14432 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a94ba5e0cb738c6b1a817ea54afc5816d2bb596;p=platform%2Fupstream%2Fmesa.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 b8ab480..a8f7c9b 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()