Files
keepassxc/src/crypto/ssh/includes.h
Jonathan White 86e5dbda4f Add Haiku support
2019-03-24 09:32:45 -04:00

20 lines
417 B
C++

// mimic openSSH-portable's includes.h file to be able to use
// its unmodified blowfish code
#define HAVE_BLF_H
#ifndef _GNU_SOURCE
#define _GNU_SOURCE /* activate extra prototypes for glibc */
#endif
#include <sys/types.h>
#if defined(_WIN32) || defined(__HAIKU__)
#include <stdint.h>
typedef uint32_t u_int32_t;
typedef uint16_t u_int16_t;
typedef uint8_t u_int8_t;
#define bzero(p, s) memset(p, 0, s)
#endif