<machine/atomic.h> requires <sys/types.h>.

Reviewed by:	jake, mike
This commit is contained in:
Ruslan Ermilov 2002-10-09 20:20:43 +00:00
parent bc71591d79
commit 2908cc64eb
2 changed files with 1 additions and 2 deletions

View File

@ -46,8 +46,6 @@
#include <stdlib.h>
#include <time.h>
#include <machine/atomic.h>
#include "debug.h"
#include "rtld.h"
#include "rtld_machdep.h"

View File

@ -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)