mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Reapplied portability changes, from changesets by kent, joerg and msvensson
mysys/base64.c: Portability change for SCO/HP, compiler don't like doing pointer arithmetic on void* variable include/my_bitmap.h: "inline" functions (especially in header files) should be declared "static", or else we may get "multiply defined" when they are used in several modules. (Solaris compiler problem) sql/handler.h: Compatibility change for AIX compiler storage/bdb/Makefile.in: Added bdb "sequence" directory to "make dist" cmd-line-utils/readline/complete.c: Avoid FreeBSD 5.3 problems including <sys/file.h> mysql-test/t/disabled.def: Disable compress.test for now storage/bdb/build_unix/.IGNORE_ME: File that is copied to prevent empty directories in source TAR
This commit is contained in:
@@ -33,7 +33,8 @@
|
||||
|
||||
#include <fcntl.h>
|
||||
|
||||
#if defined (HAVE_SYS_FILE_H)
|
||||
/* FreeBSD 5.3 will not declare u_int in sys/types.h, file.h needs it */
|
||||
#if defined (HAVE_SYS_FILE_H) && !defined(__FreeBSD__)
|
||||
# include <sys/file.h>
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user