diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-01-30 17:34:49 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-01-30 17:38:41 +0100 |
commit | cdca75dee67ebfee62b44273d7d5ae5f123c477b (patch) | |
tree | 66115e9fa91dcca1c8c7ec6e3661cfeddebcd197 /source4 | |
parent | 73dbbe0d5406d1852f85a17b506a4b943ad1926f (diff) | |
download | samba-cdca75dee67ebfee62b44273d7d5ae5f123c477b.tar.gz |
heimdal: don't include <sys/cdefs.h> without knowing it's there
metze
Diffstat (limited to 'source4')
-rw-r--r-- | source4/heimdal/lib/roken/vis.hin | 2 | ||||
-rw-r--r-- | source4/heimdal_build/vis.h | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/source4/heimdal/lib/roken/vis.hin b/source4/heimdal/lib/roken/vis.hin index 64274526e4..06a250c6d8 100644 --- a/source4/heimdal/lib/roken/vis.hin +++ b/source4/heimdal/lib/roken/vis.hin @@ -80,7 +80,9 @@ */ #define UNVIS_END 1 /* no more characters */ +#ifdef HAVE_SYS_CDEFS_H #include <sys/cdefs.h> +#endif __BEGIN_DECLS char * ROKEN_LIB_FUNCTION diff --git a/source4/heimdal_build/vis.h b/source4/heimdal_build/vis.h index 13b39aa184..4389993ebd 100644 --- a/source4/heimdal_build/vis.h +++ b/source4/heimdal_build/vis.h @@ -1,4 +1,15 @@ #ifndef _HEIMDAL_BUILD_VIS_H #define _HEIMDAL_BUILD_VIS_H + +#include "system/locale.h" + +#ifndef __BEGIN_DECLS +#define __BEGIN_DECLS +#endif + +#ifndef __END_DECLS +#define __END_DECLS +#endif + #include "heimdal/lib/roken/vis.hin" #endif |