add argus2 patches
[buildroot.git] / package / argus / argus-2.0.6.fixes.1-susv3-legacy.patch
blob3376201c981bae408d5b5dbc765c33338aa444c4
1 --- argus-2.0.6.fixes.1.old/include/argus_def.h 2004-02-23 16:00:36.000000000 +0100
2 +++ argus-2.0.6.fixes.1/include/argus_def.h 2008-03-31 16:02:12.000000000 +0200
3 @@ -56,6 +56,15 @@
4 #ifndef Argus_def_h
5 #define Argus_def_h
7 +#ifndef bcopy
8 +#define bcopy(src, dest, n) memmove (dest, src, n)
9 +#endif
10 +#ifndef bcmp
11 +#define bcmp(s1, s2, n) ( n == 0 ? 0 : memcmp (s1, s2, n) )
12 +#endif
13 +#ifndef bzero
14 +#define bzero(s, n) memset (s, 0, n)
15 +#endif
18 Argus Record Header Format