Module: Mesa
Branch: master
Commit: 8a94ba5e0cb738c6b1a817ea54afc5816d2bb596
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8a94ba5e0cb738c6b1a817ea54afc5816d2bb596

Author: François Tigeot <[email protected]>
Date:   Tue Nov 17 18:54:01 2015 +0100

xmlconfig: Add support for DragonFly

Signed-off-by: Emil Velikov <[email protected]>

---

 src/mesa/drivers/dri/common/xmlconfig.c |    3 +++
 1 file changed, 3 insertions(+)

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 <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()

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to