]> git.ipfire.org Git - thirdparty/json-c.git/commitdiff
Don't let clang-format rearrange Windows includes, since they need to be in a particu...
authorEric Haszlakiewicz <erh+git@nimenees.com>
Mon, 6 Apr 2020 02:47:34 +0000 (02:47 +0000)
committerEric Haszlakiewicz <erh+git@nimenees.com>
Mon, 6 Apr 2020 02:47:34 +0000 (02:47 +0000)
random_seed.c

index fd654a222ad8a09b4c0f20043c2f24cec28b599e..fc19e26d132be0e60adcaa39eb968177fb9ac7db 100644 (file)
@@ -186,8 +186,10 @@ static int get_dev_random_seed(void)
 
 #define HAVE_CRYPTGENRANDOM 1
 
-#include <wincrypt.h>
+/* clang-format off */
 #include <windows.h>
+#include <wincrypt.h>
+/* clang-format on */
 #ifndef __GNUC__
 #pragma comment(lib, "advapi32.lib")
 #endif