nixpkgs/pkgs/by-name/li/libfprint-2-tod1-vfs0090/0002-vfs0090-add-missing-linux-limits.h-include.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

27 lines
601 B
Diff

From 5405e02c629e689449e852424aed8cca217ed309 Mon Sep 17 00:00:00 2001
From: Vincent Breitmoser <look@my.amazin.horse>
Date: Thu, 10 Jun 2021 14:10:52 +0200
Subject: [PATCH] vfs0090: add missing <linux/limits.h> include
This header is needed for the NAME_MAX constant used in this file.
---
vfs0090.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/vfs0090.c b/vfs0090.c
index 8034faf..6070df7 100644
--- a/vfs0090.c
+++ b/vfs0090.c
@@ -24,6 +24,7 @@
#include <errno.h>
#include <ctype.h>
+#include <linux/limits.h>
#include <nss.h>
#include <pk11pub.h>
#include <sechash.h>
--
2.31.1