<machine/atomic.h> requires <sys/types.h>.
Reviewed by: jake, mike
This commit is contained in:
parent
bc71591d79
commit
2908cc64eb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104724
@ -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