nixpkgs/pkgs/by-name/xb/xbase/xbase-fixes.patch
aleksana 571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00

35 lines
797 B
Diff

diff --git a/xbase64/xbase64.cpp b/xbase64/xbase64.cpp
index fc5613d..2449535 100644
--- a/xbase64/xbase64.cpp
+++ b/xbase64/xbase64.cpp
@@ -51,6 +51,7 @@
#include <xbase64/xbase64.h>
#include <ctype.h>
#include <string.h>
+#include <cerrno>
//#include <xbase64/xbexcept.h>
diff --git a/xbase64/xblock.cpp b/xbase64/xblock.cpp
index c44cbb9..3554fc1 100644
--- a/xbase64/xblock.cpp
+++ b/xbase64/xblock.cpp
@@ -53,6 +53,7 @@
#endif
#include <xbase64/xbase64.h>
+#include <cerrno>
#ifdef HAVE_IO_H // windows locking
#include <io.h>
diff --git a/xbase64/xbnode.cpp b/xbase64/xbnode.cpp
index 5e688c1..3c652b3 100644
--- a/xbase64/xbnode.cpp
+++ b/xbase64/xbnode.cpp
@@ -1,4 +1,4 @@
-#include "xbNode.h"
+#include "xbnode.h"
void xbNodeLink::AddNode(xbNodeLink* node)
{