<machine/atomic.h> requires <sys/types.h>.
Reviewed by: jake, mike
This commit is contained in:
parent
bc71591d79
commit
2908cc64eb
@ -46,8 +46,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
|
||||
#include <machine/atomic.h>
|
||||
|
||||
#include "debug.h"
|
||||
#include "rtld.h"
|
||||
#include "rtld_machdep.h"
|
||||
|
@ -29,6 +29,7 @@
|
||||
#ifndef RTLD_MACHDEP_H
|
||||
#define RTLD_MACHDEP_H 1
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <machine/atomic.h>
|
||||
|
||||
#define atomic_incr_int(p) atomic_add_int((p), 1)
|
||||
|
Loading…
Reference in New Issue
Block a user