Merge remote-tracking branch 'jeremyhu/master'

This commit is contained in:
Keith Packard 2013-02-14 11:05:48 -08:00
commit 90642948cc
3 changed files with 9 additions and 1 deletions

View File

@ -20,6 +20,10 @@
* DEALINGS IN THE SOFTWARE.
*/
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>

View File

@ -28,7 +28,7 @@ AC_DEFUN([XORG_TLS], [
ac_cv_tls=none
keywords="__thread __declspec(thread)"
for kw in $keywords ; do
AC_TRY_COMPILE([int $kw test;], [], ac_cv_tls=$kw)
AC_TRY_COMPILE([int $kw test;], [], ac_cv_tls=$kw ; break ;)
done
])
AC_MSG_RESULT($ac_cv_tls)

View File

@ -27,6 +27,10 @@
* SUCH DAMAGE.
*/
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#include <stddef.h>
#include <stdlib.h>
#include <string.h>