xmlconfig: Add support for DragonFly
authorFrançois Tigeot <ftigeot@wolfpond.org>
Tue, 17 Nov 2015 17:54:01 +0000 (18:54 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 20 Nov 2015 11:18:47 +0000 (11:18 +0000)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/mesa/drivers/dri/common/xmlconfig.c

index b8ab480ddfe5ce5933d22a79dd398bc095223203..a8f7c9b854badd03ec67e5353f83c6e7cb8cb6e6 100644 (file)
@@ -59,6 +59,9 @@ extern char *program_invocation_name, *program_invocation_short_name;
 #elif defined(__NetBSD__) && defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 106000100)
 #    include <stdlib.h>
 #    define GET_PROGRAM_NAME() getprogname()
+#elif defined(__DragonFly__)
+#    include <stdlib.h>
+#    define GET_PROGRAM_NAME() getprogname()
 #elif defined(__APPLE__)
 #    include <stdlib.h>
 #    define GET_PROGRAM_NAME() getprogname()