mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
OpenBSD fixes for DtPrint and csa.
This commit is contained in:
parent
8b67d1ccba
commit
3d5a492038
4 changed files with 8 additions and 2 deletions
|
@ -110,7 +110,7 @@ typedef enum {B_FALSE, B_TRUE} boolean_t;
|
||||||
|
|
||||||
#endif /* HPUX */
|
#endif /* HPUX */
|
||||||
|
|
||||||
#if defined(linux)
|
#if defined(linux) || defined(CSRG_BASED)
|
||||||
typedef enum {B_FALSE, B_TRUE} boolean_t;
|
typedef enum {B_FALSE, B_TRUE} boolean_t;
|
||||||
#define MAXNAMELEN 256
|
#define MAXNAMELEN 256
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,11 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#if defined(CSRG_BASED)
|
||||||
|
#define MAXINT INT_MAX
|
||||||
|
#else
|
||||||
#include <values.h>
|
#include <values.h>
|
||||||
|
#endif
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <Xm/XmAll.h>
|
#include <Xm/XmAll.h>
|
||||||
|
@ -60,6 +64,7 @@
|
||||||
#include <Dt/PsubUtilI.h>
|
#include <Dt/PsubUtilI.h>
|
||||||
#include <Dt/PrintI.h>
|
#include <Dt/PrintI.h>
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constant Definitions
|
* Constant Definitions
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
#include <rpc/types.h>
|
#include <rpc/types.h>
|
||||||
#endif /* HPUX */
|
#endif /* HPUX */
|
||||||
|
|
||||||
#if defined(linux)
|
#if defined(linux) || defined(CSRG_BASED)
|
||||||
# if defined __STDC__
|
# if defined __STDC__
|
||||||
# define REDEFINE_STDC
|
# define REDEFINE_STDC
|
||||||
# undef __STDC__
|
# undef __STDC__
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
* (c) Copyright 1993, 1994 Sun Microsystems, Inc.
|
* (c) Copyright 1993, 1994 Sun Microsystems, Inc.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <sys/param.h>
|
||||||
#include <EUSCompat.h>
|
#include <EUSCompat.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue