summaryrefslogtreecommitdiff
path: root/pkgtools/rpm2pkg
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2011-01-12 08:47:52 +0000
committertron <tron@pkgsrc.org>2011-01-12 08:47:52 +0000
commit8c9a9ab5ae8cbaaa6db32cd313fffebdb78a440a (patch)
treec9dc36292f1c13120ffce49461557b6c7f0cd8a2 /pkgtools/rpm2pkg
parent405c691229a7cfd4dfa98cec792720c59c3cb7da (diff)
downloadpkgsrc-8c9a9ab5ae8cbaaa6db32cd313fffebdb78a440a.tar.gz
Include "string.h" not "strings.h" (a typo anyway) to fix the build under
DragonFly. Patch supplied by Peter Avalos in PR pkg/44373.
Diffstat (limited to 'pkgtools/rpm2pkg')
-rw-r--r--pkgtools/rpm2pkg/files/package-list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/rpm2pkg/files/package-list.c b/pkgtools/rpm2pkg/files/package-list.c
index 41ae41ea3a2..99f5eebb929 100644
--- a/pkgtools/rpm2pkg/files/package-list.c
+++ b/pkgtools/rpm2pkg/files/package-list.c
@@ -1,4 +1,4 @@
-/* $NetBSD: package-list.c,v 1.1 2011/01/12 00:26:33 tron Exp $ */
+/* $NetBSD: package-list.c,v 1.2 2011/01/12 08:47:52 tron Exp $ */
/*-
* Copyright (c) 2001-2011 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
#include "package-list.h"
#include <stdlib.h>
-#include <strings.h>
+#include <string.h>
PListEntry *
PListInsert(PListEntry **Tree,char *Name)