Fixed a typo that was causing a race condition error.
[awesomized/libmemcached] / m4 / protocol_binary.m4
index d31bcb04a2a06c1ca2ab9af82e3b76f090ac9b39..ba7acaf5f52d01ceaf2a113ba54dbd2860ba3956 100644 (file)
@@ -5,15 +5,16 @@ AC_DEFUN([PROTOCOL_BINARY_TEST],
   [AC_LANG_PUSH([C])
    save_CFLAGS="$CFLAGS"
    CFLAGS="$CFLAGS -I${srcdir}"
-   AC_RUN_IFELSE([ 
+   AC_RUN_IFELSE([
       AC_LANG_PROGRAM([[
+#include <inttypes.h>
 #include "libmemcached/memcached/protocol_binary.h"
    ]],[[
       protocol_binary_request_set request;
       if (sizeof(request) != sizeof(request.bytes)) {
          return 1;
       }
-   ]])],, AC_MSG_ERROR([Unsupported struct padding done by compiler.])) 
+   ]])],, AC_MSG_ERROR([Unsupported struct padding done by compiler.]))
    CFLAGS="$save_CFLAGS"
    AC_LANG_POP
 ])