Skip to content

Commit

Permalink
win32: make compat.h work standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
arogge committed Dec 2, 2021
1 parent adb4681 commit 842811d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion core/src/win32/compat/include/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@
#ifndef BAREOS_WIN32_COMPAT_INCLUDE_COMPAT_H_
#define BAREOS_WIN32_COMPAT_INCLUDE_COMPAT_H_

#include <windows.h>
#include <stdint.h>
#include <stdio.h>
#include <sys/types.h>
#include "include/bc_types.h"

// Copyright transferred from Raider Solutions, Inc to
// Kern Sibbald and John Walker by express permission.
//
Expand Down Expand Up @@ -264,7 +270,6 @@ int utime(const char* filename, struct utimbuf* buf);

struct timespec;
int readdir(unsigned int fd, struct dirent* dirp, unsigned int count);
int nanosleep(const struct timespec* rqtp, struct timespec* rmtp);
long int random(void);
void srandom(unsigned int seed);
int lstat(const char* filename, struct stat* sb);
Expand Down

0 comments on commit 842811d

Please sign in to comment.