summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2010-01-27 20:29:46 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2010-01-27 20:29:46 -0800
commit443e5015d9c72022b3d5404c8381c7e6354ae799 (patch)
tree872c7d99236e322c3b6ce4478133cc3f4dd597db
parent57aaaa7e27334e167e4b3440773e6f5694b73568 (diff)
Fix build on OpenSolaris
- Don't hardcode -Wall in Makefile.am since configure.ac sets it already - Use <stdint.h> instead of Windows headers when building on Solaris, even which not using gcc Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-rw-r--r--src/Makefile.am2
-rw-r--r--src/lookup3.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 6ac804c..b30d50d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -27,7 +27,7 @@
qxl_drv_la_LTLIBRARIES = qxl_drv.la
qxl_drv_la_LDFLAGS = -module -avoid-version
qxl_drv_ladir = @moduledir@/drivers
-INCLUDES = -Wall -g
+AM_CFLAGS = -g
qxl_drv_la_SOURCES = \
qxl.h \
diff --git a/src/lookup3.h b/src/lookup3.h
index a3f8b8d..50c1cf4 100644
--- a/src/lookup3.h
+++ b/src/lookup3.h
@@ -1,7 +1,7 @@
#ifndef __LOOKUP3_H
#define __LOOKUP3_H
-#ifdef __GNUC__
+#if defined(__GNUC__) || defined(__sun)
#include <stdint.h>