Fix warnings on FreeBSD
This commit is contained in:
committed by
Jon Trulson
parent
885b65a09a
commit
297b6bd845
@@ -150,6 +150,9 @@ static char SCCSID[] = "OSF/Motif: @(#)_DtosP.h 4.16 91/09/12";
|
||||
|
||||
|
||||
# ifdef __GNUC__
|
||||
# ifdef alloca
|
||||
# undef alloca
|
||||
# endif
|
||||
# define alloca __builtin_alloca
|
||||
# define ALLOCATE_LOCAL(size) alloca((int)(size))
|
||||
# define DEALLOCATE_LOCAL(ptr) /* as nothing */
|
||||
|
||||
@@ -40,11 +40,11 @@
|
||||
#ifdef __hpux
|
||||
#include <ndir.h> /* opendir(), directory(3C) */
|
||||
#else
|
||||
#if defined(sun)
|
||||
#if defined(sun) || defined(CSRG_BASED)
|
||||
#include <dirent.h> /* opendir(), directory(3C) */
|
||||
#else
|
||||
#include <sys/dir.h>
|
||||
#endif /* sun */
|
||||
#endif /* sun || CSRG_BASED */
|
||||
#endif /* __hpux */
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#ifdef __hpux
|
||||
#include <ndir.h>
|
||||
#else
|
||||
#if defined(sun)
|
||||
#if defined(sun) || defined(CSRG_BASED)
|
||||
#include <dirent.h>
|
||||
#else
|
||||
#include <sys/dir.h>
|
||||
|
||||
Reference in New Issue
Block a user