Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/ftp/omi/files/patch-utils.h
16462 views
1
--- utils/utils.h.orig 2009-02-23 16:51:20.000000000 +0100
2
+++ utils/utils.h 2009-02-23 16:54:21.000000000 +0100
3
@@ -42,6 +42,7 @@
4
* allocated.
5
*/
6
7
+#if !defined(__FreeBSD__)
8
char *strndup (const char *src, int num);
9
/*
10
* Like strdup(), but limits the string length to at most
11
@@ -50,6 +53,7 @@
12
* Always allocates <num>+1 bytes, even if less space would
13
* be sufficient to store <src>.
14
*/
15
+#endif
16
17
char *justify (char *str);
18
/*
19
20