mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 10:58:11 +08:00
At least on NetBSD, sys/errno.h and errno.h are different, so use the
correct header to get errno. llvm-svn: 231647
This commit is contained in:
@@ -8,10 +8,10 @@
|
||||
\*===----------------------------------------------------------------------===*/
|
||||
|
||||
#include "InstrProfiling.h"
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/errno.h>
|
||||
|
||||
#define UNCONST(ptr) ((void *)(uintptr_t)(ptr))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user