summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Tigeot <[email protected]>2015-11-17 18:54:01 +0100
committerEmil Velikov <[email protected]>2015-11-20 11:18:47 +0000
commit8a94ba5e0cb738c6b1a817ea54afc5816d2bb596 (patch)
tree35cce76ebe00a8f77260cb0cec00d7a54e6da658
parent480ba46bcb44169cefb46a978c24e3f77d144df2 (diff)
xmlconfig: Add support for DragonFly
Signed-off-by: Emil Velikov <[email protected]>
-rw-r--r--src/mesa/drivers/dri/common/xmlconfig.c3
1 files changed, 3 insertions, 0 deletions
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 <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()