Check for __sun macro in solarisfixes.h, not in includers.

This commit is contained in:
antirez
2015-01-09 11:22:14 +01:00
parent f3fd58eb4a
commit 792a94153a
3 changed files with 4 additions and 5 deletions

View File

@ -24,9 +24,7 @@ A million repetitions of "a"
#include <stdio.h>
#include <string.h>
#include <sys/types.h> /* for u_int*_t */
#if defined(__sun)
#include "solarisfixes.h"
#endif
#include "sha1.h"
#include "config.h"