Quellcode durchsuchen

gallium: include limits.h in p_config.h

We are getting inconsistent methods for endian detection (same answer when
it works, just doesn't work on some platforms) depending on whether __GLIBC__
is defined, which of course depends on include ordering before p_config.h

Just make p_config.h include limits.h to solve this.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
tags/mesa-7.11-rc1
Dave Airlie vor 14 Jahren
Ursprung
Commit
d2ede5e648
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1
    1
      src/gallium/include/pipe/p_config.h

+ 1
- 1
src/gallium/include/pipe/p_config.h Datei anzeigen

@@ -46,7 +46,7 @@
#ifndef P_CONFIG_H_
#define P_CONFIG_H_

#include <limits.h>
/*
* Compiler
*/

Laden…
Abbrechen
Speichern