Fix headers.

This commit is contained in:
2020-10-26 01:10:22 +00:00
parent 7f414fc204
commit ab03806b50
5 changed files with 16 additions and 2 deletions

5
.idea/modules.xml generated
View File

@@ -20,4 +20,9 @@
</configuration> </configuration>
</configurations> </configurations>
</component> </component>
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/aaruremote.iml" filepath="$PROJECT_DIR$/.idea/aaruremote.iml" />
</modules>
</component>
</project> </project>

View File

@@ -15,7 +15,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <malloc.h> #include <stdlib.h>
#include <stddef.h> #include <stddef.h>
#include <string.h> #include <string.h>

2
main.c
View File

@@ -22,6 +22,8 @@
#include <windows.h> #include <windows.h>
#include "win32/win32.h" #include "win32/win32.h"
#else
#include <stdint.h>
#endif #endif
#include "aaruremote.h" #include "aaruremote.h"

View File

@@ -15,11 +15,16 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <malloc.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <sys/utsname.h> #include <sys/utsname.h>
#ifndef _WIN32
#include <stdint.h>
#endif
#include "../aaruremote.h" #include "../aaruremote.h"
#include "../endian.h"
AaruPacketHello* GetHello() AaruPacketHello* GetHello()
{ {

View File

@@ -26,6 +26,8 @@
#include <windows.h> #include <windows.h>
#include "win32/win32.h" #include "win32/win32.h"
#else
#include <stdint.h>
#endif #endif
#include "aaruremote.h" #include "aaruremote.h"