i965: Add support for non-color render target write data to new FS backend.
[mesa.git] / src / mesa / drivers / dri / common / xmlconfig.c
index bde6b23c7cff1995d54782f011599d7d6aeb2222..0312c072437af37c77510c25b73b27bad4f81c3e 100644 (file)
@@ -56,6 +56,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(__APPLE__)
+#    include <stdlib.h>
+#    define GET_PROGRAM_NAME() getprogname()
 #elif defined(__sun)
 /* Solaris has getexecname() which returns the full path - return just
    the basename to match BSD getprogname() */