Sophie

Sophie

distrib > Mandriva > 2010.2 > x86_64 > by-pkgid > 9d70214adc1436f851b829e058769c88 > files > 12

lib64edit-devel-3.0-0.20090923.1mdv2010.1.x86_64.rpm

--- export/src/sys.h	2009-09-23 22:55:51.000000000 +0200
+++ ../src/sys.h	2009-09-23 23:04:26.000000000 +0200
@@ -40,6 +40,8 @@
 #ifndef _h_sys
 #define	_h_sys
 
+#include <config.h>
+
 #ifdef HAVE_SYS_CDEFS_H
 #include <sys/cdefs.h>
 #endif
@@ -48,6 +50,14 @@
 # define __attribute__(A)
 #endif
 
+#ifndef __P
+# define __P(x) x
+#endif
+
+#ifndef _DIAGASSERT
+# define _DIAGASSERT(x)
+#endif
+
 #ifndef __BEGIN_DECLS
 # ifdef  __cplusplus
 #  define __BEGIN_DECLS  extern "C" {
@@ -71,6 +81,10 @@
 			/* When we want to hide everything	*/
 #endif
 
+#ifndef HAVE_U_INT32_T
+typedef unsigned int  u_int32_t;
+#endif
+
 #ifndef _PTR_T
 # define _PTR_T
 typedef void	*ptr_t;