gallium: protect against multi-#include
authorBrian <brian.paul@tungstengraphics.com>
Tue, 18 Mar 2008 22:59:46 +0000 (16:59 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Tue, 18 Mar 2008 23:18:10 +0000 (17:18 -0600)
src/gallium/auxiliary/util/u_pack_color.h

index 93a18c1c7e021b5d9ce99ffac988bdd2d44add80..cd13823985ebc2174b3765bb07ef60782c63f57f 100644 (file)
  */
 
 
+#ifndef U_PACK_COLOR_H
+#define U_PACK_COLOR_H
+
+
 #include "pipe/p_compiler.h"
+#include "pipe/p_format.h"
 
 
 /**
@@ -123,3 +128,6 @@ util_pack_z(enum pipe_format format, double z)
       return 0;
    }
 }
+
+
+#endif /* U_PACK_COLOR_H */